Reenable dehnert.arctic.org and add a DNAME in dynamic.dehnert.arctic.org
[sysconfig/bind.git] / named.conf.local
index fa852ca685f1ca25bc6e2f1de17fbf8e45adedd2..8e94176ae484ba9e0218ae62fc46b0fb6d034605 100644 (file)
@@ -23,10 +23,30 @@ acl "transfer-allowed" {
        18.18.208.12;   // olinda
 };
 
+include "/etc/bind/pri/dynamic.keys";
+
+zone "dynamic.dehnerts.com" IN {
+       type master;
+       file "/etc/bind/dyn/dynamic.zone";
+       update-policy { grant * selfsub * A TXT;};
+       allow-transfer { "transfer-allowed"; };
+       allow-query { any; };
+};
+
+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-update { none; };
        allow-transfer { "transfer-allowed"; };
        allow-query { any; };
        //notify no;
@@ -34,7 +54,8 @@ zone "dehnert.arctic.org" IN {
 zone "dehnerts.com" IN {
        type master;
        file "/etc/bind/pri/combined-dehnerts.zone";
-       allow-update { none; };
+       #update-policy { grant * selfsub * A TXT;};
+        allow-update { none; };
        allow-transfer { "transfer-allowed"; };
        allow-query { any; };
        //notify no;