X-Git-Url: https://dehnerts.com/gitweb/?a=blobdiff_plain;f=named.conf.local;h=269a2616ea243cf416f03c409946b036318722c1;hb=7ca12ecd372e1f0fe2c49e9402c01e4204578790;hp=3a1101b0ff626afb43ffb5f135db4c077072a6a5;hpb=b0009dafe6d3d03a8760608bc8d46c8bac3f8671;p=sysconfig%2Fbind.git diff --git a/named.conf.local b/named.conf.local index 3a1101b..269a261 100644 --- a/named.conf.local +++ b/named.conf.local @@ -12,19 +12,42 @@ # notify no; #}; +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.102.208.15; // olinda +}; + zone "dehnert.arctic.org" 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; }; + allow-transfer { "transfer-allowed"; }; allow-query { any; }; - notify no; + //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; }; + 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; }; };