summaryrefslogtreecommitdiff
path: root/openbsd/frontends/var
diff options
context:
space:
mode:
authorPaul Buetow <openbsd@mx.buetow.org>2022-01-16 21:45:54 +0100
committerPaul Buetow <openbsd@mx.buetow.org>2022-01-16 21:45:54 +0100
commit397f3d3241e3f8afb50de4ff9198a7aa10678834 (patch)
treeead784dc6a9fbda54bfaf910e7d79cad2c595fce /openbsd/frontends/var
parent0691650313aaa0ef05f448b00a964e3593277b51 (diff)
add nsd
Diffstat (limited to 'openbsd/frontends/var')
-rw-r--r--openbsd/frontends/var/nsd.blowfish/etc/nsd.conf23
-rw-r--r--openbsd/frontends/var/nsd.blowfish/zones/master/snonux.me.zone15
2 files changed, 38 insertions, 0 deletions
diff --git a/openbsd/frontends/var/nsd.blowfish/etc/nsd.conf b/openbsd/frontends/var/nsd.blowfish/etc/nsd.conf
new file mode 100644
index 0000000..9c3e1c3
--- /dev/null
+++ b/openbsd/frontends/var/nsd.blowfish/etc/nsd.conf
@@ -0,0 +1,23 @@
+# $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
+
+## 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"
+ notify 108.160.134.135 blowfish.buetow.org.
+ provide-xfr 108.160.134.135 blowfish.buetow.org.
diff --git a/openbsd/frontends/var/nsd.blowfish/zones/master/snonux.me.zone b/openbsd/frontends/var/nsd.blowfish/zones/master/snonux.me.zone
new file mode 100644
index 0000000..f13cfd0
--- /dev/null
+++ b/openbsd/frontends/var/nsd.blowfish/zones/master/snonux.me.zone
@@ -0,0 +1,15 @@
+$ORIGIN snonux.me.
+$TTL 4h
+@ IN SOA blowfish.buetow.org. hostmaster.buetow.org. (
+ 2022011605 ; serial
+ 1h ; refresh
+ 30m ; retry
+ 7d ; expire
+ 1h ) ; negative
+ IN NS blowfish.buetow.org.
+ IN NS twofish.buetow.org.
+
+ IN MX 0 buetow.org.
+ IN MX 0 www.buetow.org.
+
+* IN CNAME buetow.org.