Reenable dehnert.arctic.org and add a DNAME in dynamic.dehnert.arctic.org
[sysconfig/bind.git] / named.conf.local
index 285963ab2e796ae4662d69c931f0fe3032a4fcbf..8e94176ae484ba9e0218ae62fc46b0fb6d034605 100644 (file)
@@ -28,24 +28,33 @@ include "/etc/bind/pri/dynamic.keys";
 zone "dynamic.dehnerts.com" IN {
        type master;
        file "/etc/bind/dyn/dynamic.zone";
-       update-policy { grant * selfsub * A;};
+       update-policy { grant * selfsub * A TXT;};
        allow-transfer { "transfer-allowed"; };
        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";
-       #update-policy { grant * selfsub * A;};
+       #update-policy { grant * selfsub * A TXT;};
         allow-update { none; };
        allow-transfer { "transfer-allowed"; };
        allow-query { any; };