ansible/roles/nsd/templates/nsd.conf.j2

40 lines
1.4 KiB
Django/Jinja

# {{ ansible_managed }}
server:
ip-address: 127.0.0.1@5353
ip-address: ::1@5353
# policy
statistics: 3600
round-robin: yes
minimal-responses: yes
hide-version: yes
hide-identity: no
# performance
server-count: 1
tcp-timeout: 12
# place nice with s6-rc
log-time-ascii: no
debug-mode: yes
# Remote control config section.
remote-control:
control-enable: yes
control-interface: /var/run/nsd/control
zone:
name: "."
request-xfr: 192.228.79.201 NOKEY # b.root-servers.net
request-xfr: 192.33.4.12 NOKEY # c.root-servers.net
request-xfr: 192.5.5.241 NOKEY # f.root-servers.net
request-xfr: 192.112.36.4 NOKEY # g.root-servers.net
request-xfr: 193.0.14.129 NOKEY # k.root-servers.net
request-xfr: 192.0.47.132 NOKEY # xfr.cjr.dns.icann.org
request-xfr: 192.0.32.132 NOKEY # xfr.lax.dns.icann.org
request-xfr: 2001:500:84::b NOKEY # b.root-servers.net
request-xfr: 2001:500:2f::f NOKEY # f.root-servers.net
request-xfr: 2001:7fd::1 NOKEY # k.root-servers.net
request-xfr: 2620:0:2830:202::132 NOKEY # xfr.cjr.dns.icann.org
request-xfr: 2620:0:2d0:202::132 NOKEY # xfr.lax.dns.icann.org