summaryrefslogtreecommitdiff
path: root/openbsd/frontends/var/nsd:twofish
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2022-01-22 19:37:21 +0000
committerPaul Buetow <paul@buetow.org>2022-01-22 19:37:21 +0000
commitfb684acb8ca218d0406e5abb8c3001d5d1a6c944 (patch)
treed92a9c9c4001aae8650153f41c21218272ba58a9 /openbsd/frontends/var/nsd:twofish
parent752f49031bbf601fb7942ba02943327054973051 (diff)
make it so
Diffstat (limited to 'openbsd/frontends/var/nsd:twofish')
-rw-r--r--openbsd/frontends/var/nsd:twofish/etc/key.conf.templ4
-rw-r--r--openbsd/frontends/var/nsd:twofish/etc/nsd.conf40
2 files changed, 44 insertions, 0 deletions
diff --git a/openbsd/frontends/var/nsd:twofish/etc/key.conf.templ b/openbsd/frontends/var/nsd:twofish/etc/key.conf.templ
new file mode 100644
index 0000000..36e855f
--- /dev/null
+++ b/openbsd/frontends/var/nsd:twofish/etc/key.conf.templ
@@ -0,0 +1,4 @@
+key:
+ name: blowfish.buetow.org
+ algorithm: hmac-sha256
+ secret: %%ADDSECRETHEREIN"MARKS%%
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..3ce547a
--- /dev/null
+++ b/openbsd/frontends/var/nsd:twofish/etc/nsd.conf
@@ -0,0 +1,40 @@
+include: "/var/nsd/etc/key.conf"
+
+server:
+ hide-version: yes
+ verbosity: 1
+ database: "" # disable database
+
+remote-control:
+ control-enable: yes
+ control-interface: /var/run/nsd.sock
+
+zone:
+ name: "buetow.org"
+ allow-notify: 23.88.35.144 blowfish.buetow.org
+ request-xfr: 23.88.35.144 blowfish.buetow.org
+
+zone:
+ name: "dtail.dev"
+ allow-notify: 23.88.35.144 blowfish.buetow.org
+ request-xfr: 23.88.35.144 blowfish.buetow.org
+
+zone:
+ name: "foo.zone"
+ allow-notify: 23.88.35.144 blowfish.buetow.org
+ request-xfr: 23.88.35.144 blowfish.buetow.org
+
+zone:
+ name: "foo.surf"
+ allow-notify: 23.88.35.144 blowfish.buetow.org
+ request-xfr: 23.88.35.144 blowfish.buetow.org
+
+zone:
+ name: "snonux.de"
+ allow-notify: 23.88.35.144 blowfish.buetow.org
+ request-xfr: 23.88.35.144 blowfish.buetow.org
+
+zone:
+ name: "snonux.me"
+ allow-notify: 23.88.35.144 blowfish.buetow.org
+ request-xfr: 23.88.35.144 blowfish.buetow.org