diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2013-11-26 12:54:43 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2013-11-26 12:54:43 +0000 |
commit | 704725095e709ac0b10c75b6d22b3ca4abc73fde (patch) | |
tree | 99dbdbc2c8f068c602397165afa08e79ad3e2f63 /etc | |
parent | 24f7f5d7112c2e47941a735d4634aa240303a14f (diff) |
new sample config entries for NSD 4.0.0
Diffstat (limited to 'etc')
-rw-r--r-- | etc/nsd.conf | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/etc/nsd.conf b/etc/nsd.conf index 19afc06f541..cd688ad7c33 100644 --- a/etc/nsd.conf +++ b/etc/nsd.conf @@ -1,8 +1,16 @@ -# $OpenBSD: nsd.conf,v 1.5 2011/12/15 14:51:46 sobrado Exp $ +# $OpenBSD: nsd.conf,v 1.6 2013/11/26 12:54:42 sthen Exp $ server: hide-version: yes +## bind to a specific address/port +# ip-address: 192.0.2.53 +# ip-address: 192.0.2.53@5678 +# ip-address: 2001:db8::53 + +remote-control: + control-enable: yes + ## tsig key example #key: # name: "tsig1.example.com." @@ -22,3 +30,13 @@ server: # zonefile: "example.net" # allow-notify: 192.0.2.2 tsig1.example.com. # request-xfr: 192.0.2.2 tsig1.example.com. + +## dynamically configured zones, used with "nsd-control addzone/delzone". +## filenames are constructed using the pattern: %s - zone name. +## %1 - first character of zone name, %2 second, ## %3 third. +## %z - topleveldomain label of zone, %y, %x next labels in name. +#pattern: +# name: "primary" +# zonefile: "%s.zone" +# notify: 192.0.2.1 NOKEY +# provide-xfr: 192.0.2.1 NOKEY |