c12s-kubespray/roles/kubernetes/preinstall/templates/resolved.conf.j2
2021-12-03 20:36:31 -08:00

9 lines
350 B
Django/Jinja

[Resolve]
DNS={{ (nodelocaldns_ip |default(coredns_server) )| list | join(' ') }}
FallbackDNS={{ ( 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