X-Git-Url: https://dehnerts.com/gitweb/?a=blobdiff_plain;f=named.conf.local;h=99714d1808f4c10818dae7a3da20e45d856b2287;hb=84413177888cc99c8499ac8a5c721247cf4a92d3;hp=7a57b10196ec182fb6bdc9f7d89c772447c69502;hpb=86170c5501448455d508cdca76b9a0b151974fcc;p=sysconfig%2Fbind.git diff --git a/named.conf.local b/named.conf.local index 7a57b10..99714d1 100644 --- a/named.conf.local +++ b/named.conf.local @@ -6,3 +6,71 @@ // 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 + 18.25.129.162; // adehnert3.xvm +}; + +masters "primary-ns" { + 18.18.208.12; // olinda +}; + +masters "secondary-ns" { + 18.25.129.162; // adehnert3.xvm +}; + +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 "/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 TXT;}; + 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; }; +};