Ignore some files for dynamic updates
[sysconfig/bind.git] / named.conf.local
index 7a57b10196ec182fb6bdc9f7d89c772447c69502..285963ab2e796ae4662d69c931f0fe3032a4fcbf 100644 (file)
@@ -6,3 +6,61 @@
 // organization
 //include "/etc/bind/zones.rfc1918";
 
+# zone "debuntu.foo" {
+#        type master;
+#        file "debuntu.foo.db";
+#        notify no;
+#};
+
+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
+};
+
+include "/etc/bind/pri/dynamic.keys";
+
+zone "dynamic.dehnerts.com" IN {
+       type master;
+       file "/etc/bind/dyn/dynamic.zone";
+       update-policy { grant * selfsub * A;};
+       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 "dehnerts.com" 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;
+};
+
+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; };
+};