From 0f470246a14a954d2f3aaa429022431909a5acc2 Mon Sep 17 00:00:00 2001 From: sthen <> Date: Tue, 26 Nov 2013 12:54:42 +0000 Subject: [PATCH] new sample config entries for NSD 4.0.0 --- src/etc/nsd.conf | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/src/etc/nsd.conf b/src/etc/nsd.conf index 19afc06f..cd688ad7 100644 --- a/src/etc/nsd.conf +++ b/src/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