summaryrefslogtreecommitdiff
path: root/frontends/var/nsd
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2022-09-03 10:53:15 +0100
committerPaul Buetow <paul@buetow.org>2022-09-03 10:53:15 +0100
commit30299bf12357a29a2c94a2588c08bc017081fad2 (patch)
treed90e5d68f7f707d226e50cdc2bb5969bc7a1a7b6 /frontends/var/nsd
parent330a80d83da4bd3b14cce226ca42e4ca8439d8e7 (diff)
add fishfinger.buetow.org (OpenBSD.Amsterdam)
Diffstat (limited to 'frontends/var/nsd')
-rw-r--r--frontends/var/nsd/etc/nsd.conf.master.tpl6
-rw-r--r--frontends/var/nsd/zones/master/buetow.org.zone.tpl11
-rw-r--r--frontends/var/nsd/zones/master/foo.zone.zone.tpl1
3 files changed, 16 insertions, 2 deletions
diff --git a/frontends/var/nsd/etc/nsd.conf.master.tpl b/frontends/var/nsd/etc/nsd.conf.master.tpl
index 310550a..cf1c311 100644
--- a/frontends/var/nsd/etc/nsd.conf.master.tpl
+++ b/frontends/var/nsd/etc/nsd.conf.master.tpl
@@ -14,6 +14,8 @@ remote-control:
zone:
name: "<%= $zone %>"
zonefile: "master/<%= $zone %>.zone"
- notify: 108.160.134.135 blowfish.buetow.org
- provide-xfr: 108.160.134.135 blowfish.buetow.org
+ <% for my $slave_ip (qw/108.160.134.135 46.23.94.99/) { %>
+ notify: <%= $slave_ip %> blowfish.buetow.org
+ provide-xfr: <%= $slave_ip %> blowfish.buetow.org
+ <% } -%>
<% } %>
diff --git a/frontends/var/nsd/zones/master/buetow.org.zone.tpl b/frontends/var/nsd/zones/master/buetow.org.zone.tpl
index eb031fe..811cc8d 100644
--- a/frontends/var/nsd/zones/master/buetow.org.zone.tpl
+++ b/frontends/var/nsd/zones/master/buetow.org.zone.tpl
@@ -8,14 +8,17 @@ $TTL 4h
1h ) ; negative
IN NS blowfish.buetow.org.
IN NS twofish.buetow.org.
+ IN NS fishfinger.buetow.org.
IN MX 10 blowfish.buetow.org.
IN MX 20 twofish.buetow.org.
+ IN MX 30 fishfinger.buetow.org.
86400 IN A 23.88.35.144
86400 IN AAAA 2a01:4f8:c17:20f1::42
* IN MX 10 blowfish.buetow.org.
* IN MX 20 twofish.buetow.org.
+* IN MX 30 fishfinger.buetow.org.
* 86400 IN A 23.88.35.144
* 86400 IN AAAA 2a01:4f8:c17:20f1::42
@@ -34,6 +37,14 @@ www.paul 3600 IN CNAME twofish
www.tmp 3600 IN CNAME twofish
www.dory 3600 IN CNAME twofish
+fishfinger 86400 IN A 46.23.94.99
+fishfinger 86400 IN AAAA 2a03:6000:6f67:624::99
+git3 3600 IN CNAME fishfinger
+ww3 3600 IN CNAME fishfinger
+ww3.paul 3600 IN CNAME fishfinger
+ww3.tmp 3600 IN CNAME fishfinger
+ww3.dory 3600 IN CNAME fishfinger
+
vulcan 86400 IN A 95.216.174.192
vulcan 86400 IN AAAA 2a01:4f9:c010:250e::1
vu 86400 IN CNAME vulcan
diff --git a/frontends/var/nsd/zones/master/foo.zone.zone.tpl b/frontends/var/nsd/zones/master/foo.zone.zone.tpl
index 41bd5c5..0974333 100644
--- a/frontends/var/nsd/zones/master/foo.zone.zone.tpl
+++ b/frontends/var/nsd/zones/master/foo.zone.zone.tpl
@@ -16,3 +16,4 @@ $TTL 4h
300 IN AAAA 2a01:4f8:c17:20f1::42
* 300 IN CNAME blowfish.buetow.org.
www 300 IN CNAME twofish.buetow.org.
+codeberg 3600 IN CNAME snonux.codeberg.page.