Reenable dehnert.arctic.org and add a DNAME in dynamic.dehnert.arctic.org
authorAlex Dehnert <alex@dehnerts.com>
Tue, 29 Oct 2019 16:52:35 +0000 (12:52 -0400)
committerAlex Dehnert <alex@dehnerts.com>
Tue, 29 Oct 2019 16:52:35 +0000 (12:52 -0400)
*.dynamic.dehnert.arctic.org should behave just like *.dynamic.dehnerts.com,
without needing to do dynamic updates for both.

named.conf.local
pri/arctic-dynamic.zone [new file with mode: 0644]

index 38a99451ff079b4577ca3a76cdda943c0cba3492..8e94176ae484ba9e0218ae62fc46b0fb6d034605 100644 (file)
@@ -33,15 +33,24 @@ zone "dynamic.dehnerts.com" IN {
        allow-query { any; };
 };
 
-#zone "dehnert.arctic.org" IN {
-#      type master;
-#      file "/etc/bind/pri/combined-dehnerts.zone";
-#      #update-policy { grant * selfsub * A;};
-#        allow-update { none; };
-#      allow-transfer { "transfer-allowed"; };
-#      allow-query { any; };
-#      //notify no;
-#};
+zone "dynamic.dehnert.arctic.org" IN {
+       // DNAME to the real, dynamic.dehnerts.com, zone
+       type master;
+       file "/etc/bind/pri/arctic-dynamic.zone";
+       allow-update { none; };
+       allow-transfer { "transfer-allowed"; };
+       allow-query { any; };
+       //notify no;
+};
+
+zone "dehnert.arctic.org" IN {
+       type master;
+       file "/etc/bind/pri/combined-dehnerts.zone";
+        allow-update { none; };
+       allow-transfer { "transfer-allowed"; };
+       allow-query { any; };
+       //notify no;
+};
 zone "dehnerts.com" IN {
        type master;
        file "/etc/bind/pri/combined-dehnerts.zone";
diff --git a/pri/arctic-dynamic.zone b/pri/arctic-dynamic.zone
new file mode 100644 (file)
index 0000000..905158c
--- /dev/null
@@ -0,0 +1,11 @@
+$TTL 300
+@       IN      SOA     ns root (
+                                    2019102901 ; Serial
+                                    4h         ; slave refresh
+                                    15m        ; slave retry time in case of a problem
+                                    4w         ; slave expiration time
+                                    300        ; maximum caching time in case of failed lookups (5 minutes)
+                                )
+       IN      NS      ns3.dehnerts.com.
+       IN      NS      olinda.mit.edu.
+       IN      DNAME   dynamic.dehnerts.com.