summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2022-01-16 20:52:24 +0000
committerPaul Buetow <paul@buetow.org>2022-01-16 20:52:24 +0000
commit749c81eca7124365f3387fd569f13847f0f73c58 (patch)
treea5b2a3a7eb44302d0bd9468b98af1ea0035915a4
parent397f3d3241e3f8afb50de4ff9198a7aa10678834 (diff)
add slave
-rw-r--r--openbsd/frontends/var/nsd.blowfish/etc/nsd.conf9
-rw-r--r--openbsd/frontends/var/nsd.twofish/etc/nsd.conf16
2 files changed, 16 insertions, 9 deletions
diff --git a/openbsd/frontends/var/nsd.blowfish/etc/nsd.conf b/openbsd/frontends/var/nsd.blowfish/etc/nsd.conf
index 9c3e1c3..7dd398e 100644
--- a/openbsd/frontends/var/nsd.blowfish/etc/nsd.conf
+++ b/openbsd/frontends/var/nsd.blowfish/etc/nsd.conf
@@ -1,5 +1,3 @@
-# $OpenBSD: nsd.conf,v 1.13 2018/08/16 17:59:12 florian Exp $
-
server:
hide-version: yes
verbosity: 3
@@ -9,13 +7,6 @@ remote-control:
control-enable: yes
control-interface: /var/run/nsd.sock
-## tsig key example
-# key:
-# name: "blowfish.buetow.org."
-# algorithm: hmac-sha256
-# secret: "bWVrbWl0YXNkaWdvYXQ="
-
-## master zone example
zone:
name: "snonux.me"
zonefile: "master/snonux.me.zone"
diff --git a/openbsd/frontends/var/nsd.twofish/etc/nsd.conf b/openbsd/frontends/var/nsd.twofish/etc/nsd.conf
new file mode 100644
index 0000000..da5246a
--- /dev/null
+++ b/openbsd/frontends/var/nsd.twofish/etc/nsd.conf
@@ -0,0 +1,16 @@
+# $OpenBSD: nsd.conf,v 1.13 2018/08/16 17:59:12 florian Exp $
+
+server:
+ hide-version: yes
+ verbosity: 3
+ database: "" # disable database
+
+remote-control:
+ control-enable: yes
+ control-interface: /var/run/nsd.sock
+
+zone:
+ name: "snonux.me"
+ zonefile: "slave/snonux.me"
+ allow-notify: 23.88.35.144 NOKEY
+ request-xfr: 23.88.35.144 NOKEY