2019-11-06 11:33:52 +00:00
|
|
|
[Resolve]
|
2022-03-14 09:08:22 +00:00
|
|
|
{% if dns_early is sameas true and dns_late is sameas false %}
|
|
|
|
#DNS=
|
|
|
|
{% else %}
|
2022-01-03 08:06:59 +00:00
|
|
|
DNS={{ ([nodelocaldns_ip] if enable_nodelocaldns else coredns_server )| list | join(' ') }}
|
2022-03-14 09:08:22 +00:00
|
|
|
{% endif %}
|
|
|
|
FallbackDNS={{ ( upstream_dns_servers|d([]) + nameservers|d([]) + cloud_resolver|d([])) | unique | join(' ') }}
|
2019-11-06 11:33:52 +00:00
|
|
|
Domains={{ ([ 'default.svc.' + dns_domain, 'svc.' + dns_domain ] + searchdomains|default([])) | join(' ') }}
|
|
|
|
#LLMNR=no
|
|
|
|
#MulticastDNS=no
|
|
|
|
DNSSEC=no
|
|
|
|
Cache=no-negative
|
|
|
|
#DNSStubListener=yes
|