X-Git-Url: https://dehnerts.com/gitweb/?a=blobdiff_plain;f=named.conf.local;h=99fda2b169136d926a13701aa009240095c6eca8;hb=77eb60885c70d15e25ac560ce5b0bb367257e8e1;hp=9f092090bcf989a72ef4a7ef85baf9bb315c44c6;hpb=6351ccb1853e565aba2da733c5de0e3382541fb1;p=sysconfig%2Fbind.git diff --git a/named.conf.local b/named.conf.local index 9f09209..99fda2b 100644 --- a/named.conf.local +++ b/named.conf.local @@ -12,22 +12,42 @@ # 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 + 74.207.246.137; // arctic + 66.92.29.156; // copan + 18.18.208.12; // olinda +}; + 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-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; }; + 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; }; };