summaryrefslogtreecommitdiff
path: root/frontends/var/nsd
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-09-04 12:28:23 +0300
committerPaul Buetow <paul@buetow.org>2024-09-04 12:28:23 +0300
commit1ed9e9f22d3ba6634fff5558a80ed0a3120c49ef (patch)
tree42779733150ac838b32682d9da3f3a24277e392d /frontends/var/nsd
parent0be945ded3ae8053567402e64fbcda378e61f1ad (diff)
add back paul.cyou
Diffstat (limited to 'frontends/var/nsd')
-rw-r--r--frontends/var/nsd/zones/master/paul.cyou.zone.tpl20
1 files changed, 20 insertions, 0 deletions
diff --git a/frontends/var/nsd/zones/master/paul.cyou.zone.tpl b/frontends/var/nsd/zones/master/paul.cyou.zone.tpl
new file mode 100644
index 0000000..fdffef4
--- /dev/null
+++ b/frontends/var/nsd/zones/master/paul.cyou.zone.tpl
@@ -0,0 +1,20 @@
+$ORIGIN paul.cyou.
+$TTL 4h
+@ IN SOA fishfinger.buetow.org. hostmaster.buetow.org. (
+ <%= time() %> ; serial
+ 1h ; refresh
+ 30m ; retry
+ 7d ; expire
+ 1h ) ; negative
+ IN NS fishfinger.buetow.org.
+ IN NS blowfish.buetow.org.
+
+ IN MX 10 fishfinger.buetow.org.
+ IN MX 20 blowfish.buetow.org.
+
+ 300 IN A <%= $ips->{current_master}{ipv4} %> ; Enable failover
+ 300 IN AAAA <%= $ips->{current_master}{ipv6} %> ; Enable failover
+www 300 IN A <%= $ips->{current_master}{ipv4} %> ; Enable failover
+www 300 IN AAAA <%= $ips->{current_master}{ipv6} %> ; Enable failover
+standby 300 IN A <%= $ips->{current_standby}{ipv4} %> ; Enable failover
+standby 300 IN AAAA <%= $ips->{current_standby}{ipv6} %> ; Enable failover