14 lines
491 B
Django/Jinja
14 lines
491 B
Django/Jinja
[Resolve]
|
|
{% if dns_early is sameas true and dns_late is sameas false %}
|
|
#DNS=
|
|
{% else %}
|
|
DNS={{ ([nodelocaldns_ip] if enable_nodelocaldns else coredns_server )| list | join(' ') }}
|
|
{% endif %}
|
|
FallbackDNS={{ ( upstream_dns_servers|d([]) + nameservers|d([]) + cloud_resolver|d([])) | unique | join(' ') }}
|
|
Domains={{ ([ 'default.svc.' + dns_domain, 'svc.' + dns_domain ] + searchdomains|default([])) | join(' ') }}
|
|
#LLMNR=no
|
|
#MulticastDNS=no
|
|
DNSSEC=no
|
|
Cache=no-negative
|
|
#DNSStubListener=yes
|