summaryrefslogtreecommitdiff
path: root/etc/nsd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/nsd.conf')
-rw-r--r--etc/nsd.conf20
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