summaryrefslogtreecommitdiff
path: root/etc/nsd.conf
diff options
context:
space:
mode:
authorJakob Schlyter <jakob@cvs.openbsd.org>2010-01-17 19:45:35 +0000
committerJakob Schlyter <jakob@cvs.openbsd.org>2010-01-17 19:45:35 +0000
commit8a5d80dff547036236e367f075d5c018d62599be (patch)
tree5693bdaff5fe43417391e96bf777585d2989eeb8 /etc/nsd.conf
parentc8caf3b3f258149c76fd995efe2b0b45ea98df7b (diff)
add template nsd.conf (with examples)
Diffstat (limited to 'etc/nsd.conf')
-rw-r--r--etc/nsd.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/etc/nsd.conf b/etc/nsd.conf
new file mode 100644
index 00000000000..069c5d61bd2
--- /dev/null
+++ b/etc/nsd.conf
@@ -0,0 +1,24 @@
+# $OpenBSD: nsd.conf,v 1.3 2010/01/17 19:45:34 jakob Exp $
+
+server:
+ hide-version: yes
+
+## tsig key example
+#key:
+# name: "key1"
+# algorithm: hmac-sha256
+# secret: "m83H2x8R0zbDf3yRKhrqgw=="
+
+## master zone example
+#zone:
+# name: "example.com"
+# zonefile: "example.com"
+# notify: 192.0.2.1 NOKEY
+# provide-xfr: 192.0.2.1 NOKEY
+
+## slave zone example
+#zone:
+# name: "example.net"
+# zonefile: "example.net"
+# allow-notify: 192.0.2.2 key1
+# request-xfr: 192.0.2.2 key1