Fix secondary config for dynamic.dehnerts on XVM
[sysconfig/bind.git] / named.conf.local
index 9f092090bcf989a72ef4a7ef85baf9bb315c44c6..ff18aded714d25f400fda1fe56bd4bf27a994449 100644 (file)
 #        notify no;
 #};
 
-//added by Alex Dehnert on 2004-11-27
+acl "transfer-allowed" {
+       localhost;
+       207.29.250.54;  // ???
+       18.4.60.36;     // charon
+       18.49.3.1;      // charon4
+       18.25.131.1;    // charon4
+       74.207.246.137; // arctic
+       66.92.29.156;   // copan
+       18.18.208.12;   // olinda
+       18.25.129.162;  // adehnert3.xvm
+};
+
+masters "primary-ns" {
+       18.18.208.12;   // olinda
+};
+
+include "/etc/bind/named.conf.per-host";
+
+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 "pri/arctic.zone";
        file "/etc/bind/pri/combined-dehnerts.zone";
-       allow-update { none; };
-       allow-transfer { localhost;  207.29.250.54; 18.181.0.36; 74.207.246.137; };
+        allow-update { none; };
+       allow-transfer { "transfer-allowed"; };
        allow-query { any; };
-       notify no;
+       //notify no;
 };
 zone "dehnerts.com" IN {
        type master;
-//     file "pri/dehnerts.zone";
        file "/etc/bind/pri/combined-dehnerts.zone";
-       allow-update { none; };
-       allow-transfer { localhost;  207.29.250.54; 18.181.0.36; 74.207.246.137; };
+       #update-policy { grant * selfsub * A TXT;};
+        allow-update { none; };
+       allow-transfer { "transfer-allowed"; };
        allow-query { any; };
-       notify no;
+       //notify no;
+};
+
+logging {
+    channel query.log {
+        file "/var/log/named/query.log" versions 10 size 100M;
+        // Set the severity to dynamic to see all the debug messages.
+        severity debug 3;
+        print-category yes;
+        print-severity yes;
+        print-time yes;
+    };
+
+    category queries { query.log; };
 };