X-Git-Url: https://dehnerts.com/gitweb/?a=blobdiff_plain;f=named.conf.local;h=285963ab2e796ae4662d69c931f0fe3032a4fcbf;hb=34a6c9cd7a7648f9cb80470b25e0e8262524f1aa;hp=1b931dca67ad52d380c7c33aa41d58edce62abb9;hpb=61e6b869d7e5ef20d35bf585e85146f3fe0d1840;p=sysconfig%2Fbind.git diff --git a/named.conf.local b/named.conf.local index 1b931dc..285963a 100644 --- a/named.conf.local +++ b/named.conf.local @@ -12,26 +12,49 @@ # notify no; #}; -zone "dehnert.arctic.org" IN { +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/pri/combined-dehnerts.zone"; - allow-update { none; }; - allow-transfer { localhost; 207.29.250.54; 18.181.0.36; 74.207.246.137; 66.92.29.156; 18.208.0.204; }; + file "/etc/bind/dyn/dynamic.zone"; + update-policy { grant * selfsub * A;}; + allow-transfer { "transfer-allowed"; }; allow-query { any; }; - notify no; }; + +#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"; - allow-update { none; }; - allow-transfer { localhost; 207.29.250.54; 18.181.0.36; 74.207.246.137; 66.92.29.156; 18.208.0.204; }; + #update-policy { grant * selfsub * A;}; + allow-update { none; }; + allow-transfer { "transfer-allowed"; }; allow-query { any; }; - notify no; + //notify no; }; logging { channel query.log { - file "/var/log/query.log" versions 10 size 100M; + 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;