fix resolved config (#8351)
This commit is contained in:
parent
e88a27790c
commit
157942a462
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
[Resolve]
|
[Resolve]
|
||||||
DNS={{ (nodelocaldns_ip |default(coredns_server) )| list | join(' ') }}
|
DNS={{ ([nodelocaldns_ip] if enable_nodelocaldns else coredns_server )| list | join(' ') }}
|
||||||
FallbackDNS={{ ( nameservers|d([]) + cloud_resolver|d([])) | unique | join(' ') }}
|
FallbackDNS={{ ( nameservers|d([]) + cloud_resolver|d([])) | unique | join(' ') }}
|
||||||
Domains={{ ([ 'default.svc.' + dns_domain, 'svc.' + dns_domain ] + searchdomains|default([])) | join(' ') }}
|
Domains={{ ([ 'default.svc.' + dns_domain, 'svc.' + dns_domain ] + searchdomains|default([])) | join(' ') }}
|
||||||
#LLMNR=no
|
#LLMNR=no
|
||||||
|
|
Loading…
Reference in a new issue