summaryrefslogtreecommitdiff
path: root/frontends/var
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2022-04-19 09:53:16 +0100
committerPaul Buetow <paul@buetow.org>2022-04-19 09:53:16 +0100
commit552cd62731031ef2167692dd51cdf36362aa022f (patch)
treefdd33daf1f8ae8fefc5ebcf3f87da71036e7e138 /frontends/var
parent72c7a524a75766da168becbb20013e22e1817ec6 (diff)
move
Diffstat (limited to 'frontends/var')
-rw-r--r--frontends/var/nsd/etc/key.conf.tpl4
-rw-r--r--frontends/var/nsd/etc/nsd.conf.master.tpl19
-rw-r--r--frontends/var/nsd/etc/nsd.conf.slave.tpl17
-rw-r--r--frontends/var/nsd/zones/master/buetow.org.zone.tpl38
-rw-r--r--frontends/var/nsd/zones/master/dtail.dev.zone.tpl16
-rw-r--r--frontends/var/nsd/zones/master/foo.surf.zone.tpl17
-rw-r--r--frontends/var/nsd/zones/master/foo.zone.zone.tpl19
-rw-r--r--frontends/var/nsd/zones/master/irregular.ninja.zone.tpl18
-rw-r--r--frontends/var/nsd/zones/master/sidewalk.ninja.zone.tpl18
-rw-r--r--frontends/var/nsd/zones/master/snonux.de.zone.tpl19
-rw-r--r--frontends/var/nsd/zones/master/snonux.me.zone.tpl19
11 files changed, 204 insertions, 0 deletions
diff --git a/frontends/var/nsd/etc/key.conf.tpl b/frontends/var/nsd/etc/key.conf.tpl
new file mode 100644
index 0000000..976661a
--- /dev/null
+++ b/frontends/var/nsd/etc/key.conf.tpl
@@ -0,0 +1,4 @@
+key:
+ name: blowfish.buetow.org
+ algorithm: hmac-sha256
+ secret: "<%= $nsd_secret %>"
diff --git a/frontends/var/nsd/etc/nsd.conf.master.tpl b/frontends/var/nsd/etc/nsd.conf.master.tpl
new file mode 100644
index 0000000..310550a
--- /dev/null
+++ b/frontends/var/nsd/etc/nsd.conf.master.tpl
@@ -0,0 +1,19 @@
+include: "/var/nsd/etc/key.conf"
+
+server:
+ hide-version: yes
+ verbosity: 1
+ database: "" # disable database
+ debug-mode: no
+
+remote-control:
+ control-enable: yes
+ control-interface: /var/run/nsd.sock
+
+<% for my $zone (@$dns_zones) { %>
+zone:
+ name: "<%= $zone %>"
+ zonefile: "master/<%= $zone %>.zone"
+ notify: 108.160.134.135 blowfish.buetow.org
+ provide-xfr: 108.160.134.135 blowfish.buetow.org
+<% } %>
diff --git a/frontends/var/nsd/etc/nsd.conf.slave.tpl b/frontends/var/nsd/etc/nsd.conf.slave.tpl
new file mode 100644
index 0000000..d9d93fe
--- /dev/null
+++ b/frontends/var/nsd/etc/nsd.conf.slave.tpl
@@ -0,0 +1,17 @@
+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
+
+<% for my $zone (@$dns_zones) { %>
+zone:
+ name: "<%= $zone %>"
+ allow-notify: 23.88.35.144 blowfish.buetow.org
+ request-xfr: 23.88.35.144 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
new file mode 100644
index 0000000..42bff2d
--- /dev/null
+++ b/frontends/var/nsd/zones/master/buetow.org.zone.tpl
@@ -0,0 +1,38 @@
+$ORIGIN buetow.org.
+$TTL 4h
+@ IN SOA blowfish.buetow.org. hostmaster.buetow.org. (
+ <%= time() %> ; serial
+ 1h ; refresh
+ 30m ; retry
+ 7d ; expire
+ 1h ) ; negative
+ IN NS blowfish.buetow.org.
+ IN NS twofish.buetow.org.
+
+ IN MX 10 buetow.org.
+ IN MX 20 www.buetow.org.
+ 86400 IN A 23.88.35.144
+ 86400 IN AAAA 2a01:4f8:c17:20f1::42
+
+* IN MX 10 buetow.org.
+* IN MX 20 www.buetow.org.
+* 86400 IN A 23.88.35.144
+* 86400 IN AAAA 2a01:4f8:c17:20f1::42
+
+blowfish 86400 IN A 23.88.35.144
+blowfish 86400 IN AAAA 2a01:4f8:c17:20f1::42
+git1 3600 IN CNAME blowfish
+
+twofish 86400 IN A 108.160.134.135
+twofish 86400 IN AAAA 2401:c080:1000:45af:5400:3ff:fec6:ca1d
+git2 3600 IN CNAME twofish
+www 3600 IN CNAME twofish
+
+vulcan 86400 IN A 95.216.174.192
+vulcan 86400 IN AAAA 2a01:4f9:c010:250e::1
+vu 86400 IN CNAME vulcan
+wolke7 3600 IN CNAME vulcan
+edge 3600 IN CNAME vulcan
+
+sofia 86400 IN CNAME 79-100-3-54.ip.btc-net.bg.
+www2 3600 IN CNAME snonux.codeberg.page.
diff --git a/frontends/var/nsd/zones/master/dtail.dev.zone.tpl b/frontends/var/nsd/zones/master/dtail.dev.zone.tpl
new file mode 100644
index 0000000..0d67272
--- /dev/null
+++ b/frontends/var/nsd/zones/master/dtail.dev.zone.tpl
@@ -0,0 +1,16 @@
+$ORIGIN dtail.dev.
+$TTL 4h
+@ IN SOA blowfish.buetow.org. hostmaster.buetow.org. (
+ <%= time() %> ; serial
+ 1h ; refresh
+ 30m ; retry
+ 7d ; expire
+ 1h ) ; negative
+ IN NS blowfish.buetow.org.
+ IN NS twofish.buetow.org.
+
+ 86400 IN A 23.88.35.144
+ 86400 IN AAAA 2a01:4f8:c17:20f1::4
+* 86400 IN CNAME blowfish.buetow.org.
+github 86400 IN CNAME mimecast.github.io.
+
diff --git a/frontends/var/nsd/zones/master/foo.surf.zone.tpl b/frontends/var/nsd/zones/master/foo.surf.zone.tpl
new file mode 100644
index 0000000..e92b881
--- /dev/null
+++ b/frontends/var/nsd/zones/master/foo.surf.zone.tpl
@@ -0,0 +1,17 @@
+$ORIGIN foo.surf.
+$TTL 4h
+@ IN SOA blowfish.buetow.org. hostmaster.buetow.org. (
+ <%= time() %> ; serial
+ 1h ; refresh
+ 30m ; retry
+ 7d ; expire
+ 1h ) ; negative
+ IN NS blowfish.buetow.org.
+ IN NS twofish.buetow.org.
+
+ IN MX 20 buetow.org.
+ IN MX 10 www.buetow.org.
+
+ 86400 IN A 108.160.134.135
+ 86400 IN AAAA 2401:c080:1000:45af:5400:3ff:fec6:ca1d
+www 86400 IN CNAME blowfish.buetow.org.
diff --git a/frontends/var/nsd/zones/master/foo.zone.zone.tpl b/frontends/var/nsd/zones/master/foo.zone.zone.tpl
new file mode 100644
index 0000000..4efbf3d
--- /dev/null
+++ b/frontends/var/nsd/zones/master/foo.zone.zone.tpl
@@ -0,0 +1,19 @@
+$ORIGIN foo.zone.
+$TTL 4h
+@ IN SOA blowfish.buetow.org. hostmaster.buetow.org. (
+ <%= time() %> ; serial
+ 1h ; refresh
+ 30m ; retry
+ 7d ; expire
+ 1h ) ; negative
+ IN NS blowfish.buetow.org.
+ IN NS twofish.buetow.org.
+
+ IN MX 10 buetow.org.
+ IN MX 20 www.buetow.org.
+
+
+ 86400 IN A 23.88.35.144
+ 86400 IN AAAA 2a01:4f8:c17:20f1::42
+* 86400 IN CNAME blowfish.buetow.org.
+www 86400 IN CNAME twofish.buetow.org.
diff --git a/frontends/var/nsd/zones/master/irregular.ninja.zone.tpl b/frontends/var/nsd/zones/master/irregular.ninja.zone.tpl
new file mode 100644
index 0000000..d3c55e5
--- /dev/null
+++ b/frontends/var/nsd/zones/master/irregular.ninja.zone.tpl
@@ -0,0 +1,18 @@
+$ORIGIN irregular.ninja.
+$TTL 4h
+@ IN SOA blowfish.buetow.org. hostmaster.buetow.org. (
+ <%= time() %> ; serial
+ 1h ; refresh
+ 30m ; retry
+ 7d ; expire
+ 1h ) ; negative
+ IN NS blowfish.buetow.org.
+ IN NS twofish.buetow.org.
+
+ IN MX 10 buetow.org.
+ IN MX 20 www.buetow.org.
+
+ 86400 IN A 23.88.35.144
+ 86400 IN AAAA 2a01:4f8:c17:20f1::42
+* 86400 IN CNAME blowfish.buetow.org.
+www 86400 IN CNAME twofish.buetow.org.
diff --git a/frontends/var/nsd/zones/master/sidewalk.ninja.zone.tpl b/frontends/var/nsd/zones/master/sidewalk.ninja.zone.tpl
new file mode 100644
index 0000000..42b1db7
--- /dev/null
+++ b/frontends/var/nsd/zones/master/sidewalk.ninja.zone.tpl
@@ -0,0 +1,18 @@
+$ORIGIN sidewalk.ninja.
+$TTL 4h
+@ IN SOA blowfish.buetow.org. hostmaster.buetow.org. (
+ <%= time() %> ; serial
+ 1h ; refresh
+ 30m ; retry
+ 7d ; expire
+ 1h ) ; negative
+ IN NS blowfish.buetow.org.
+ IN NS twofish.buetow.org.
+
+ IN MX 10 buetow.org.
+ IN MX 20 www.buetow.org.
+
+ 86400 IN A 23.88.35.144
+ 86400 IN AAAA 2a01:4f8:c17:20f1::42
+* 86400 IN CNAME blowfish.buetow.org.
+www 86400 IN CNAME twofish.buetow.org.
diff --git a/frontends/var/nsd/zones/master/snonux.de.zone.tpl b/frontends/var/nsd/zones/master/snonux.de.zone.tpl
new file mode 100644
index 0000000..cc530b6
--- /dev/null
+++ b/frontends/var/nsd/zones/master/snonux.de.zone.tpl
@@ -0,0 +1,19 @@
+$ORIGIN snonux.de.
+$TTL 4h
+@ IN SOA blowfish.buetow.org. hostmaster.buetow.org. (
+ <%= time() %> ; serial
+ 1h ; refresh
+ 30m ; retry
+ 7d ; expire
+ 1h ) ; negative
+ IN NS blowfish.buetow.org.
+ IN NS twofish.buetow.org.
+
+ IN MX 10 buetow.org.
+ IN MX 20 www.buetow.org.
+
+
+ 86400 IN A 23.88.35.144
+ 86400 IN AAAA 2a01:4f8:c17:20f1::42
+* 86400 IN CNAME blowfish.buetow.org.
+www 86400 IN CNAME twofish.buetow.org.
diff --git a/frontends/var/nsd/zones/master/snonux.me.zone.tpl b/frontends/var/nsd/zones/master/snonux.me.zone.tpl
new file mode 100644
index 0000000..e756998
--- /dev/null
+++ b/frontends/var/nsd/zones/master/snonux.me.zone.tpl
@@ -0,0 +1,19 @@
+$ORIGIN snonux.me.
+$TTL 4h
+@ IN SOA blowfish.buetow.org. hostmaster.buetow.org. (
+ <%= time() %> ; serial
+ 1h ; refresh
+ 30m ; retry
+ 7d ; expire
+ 1h ) ; negative
+ IN NS blowfish.buetow.org.
+ IN NS twofish.buetow.org.
+
+ IN MX 10 buetow.org.
+ IN MX 20 www.buetow.org.
+
+
+ 86400 IN A 23.88.35.144
+ 86400 IN AAAA 2a01:4f8:c17:20f1::42
+* 86400 IN CNAME blowfish.buetow.org.
+www 86400 IN CNAME twofish.buetow.org.