NSD configuration for patterns

This commit is contained in:
Fritz Grimpen 2021-02-28 13:56:30 +00:00
parent 036f12630c
commit aa2063743c
1 changed files with 26 additions and 0 deletions

View File

@ -3,6 +3,8 @@
server:
ip-address: 127.0.0.1@5353
ip-address: ::1@5353
ip-address: 176.9.59.104@53
ip-address: 2a01:4f8:150:926f::2@53
# policy
statistics: 3600
@ -19,6 +21,9 @@ server:
log-time-ascii: no
debug-mode: yes
# zones are state, not configuration
zonesdir: "/var/db/nsd/zones"
# Remote control config section.
remote-control:
control-enable: yes
@ -38,3 +43,24 @@ zone:
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
# Patterns for dynamically managed zones
# The list of dynamic zones is in /var/db/nsd/zone.list and is managed
# by `nsd-control addzone` and `nsd-control delzone`
pattern:
name: "local"
zonefile: "%s"
# brunn.ccchb.de
provide-xfr: 159.69.196.38 NOKEY
provide-xfr: 2a01:4f8:1c1c:c197:: NOKEY
# ns1.grimpen.net
provide-xfr: 51.83.186.231 NOKEY
provide-xfr: 2001:41d0:601:1100::33b7 NOKEY
pattern:
name: "replicate-brunn"
# brunn.ccchb.de
allow-notify: 159.69.196.38 NOKEY
allow-notify: 2a01:4f8:1c1c:c197:: NOKEY
request-xfr: AXFR 2a01:4f8:1c1c:c197:: NOKEY