## named.conf created 10/10/07 logging { channel systemlog { file "log/named.log"; severity debug; print-time yes; }; channel audit_log { file "log/security.log"; severity debug; print-time yes; }; channel xfer_log { file "log/xfer.log"; severity debug; print-time yes; }; category default { systemlog; }; category security { audit_log; systemlog; }; category config { systemlog; }; category xfer-in { xfer_log; }; category xfer-out { xfer_log; }; category notify { audit_log; }; category update { audit_log; }; category queries { audit_log; }; category lame-servers { audit_log; }; }; options { directory "/etc/namedb"; pid-file "/var/run/named.pid"; allow-transfer { 123.123.123.123; }; // Only allow trusted hosts to freely lookup any host allow-query { any; }; }; controls { inet 127.0.0.1 port 953 allow { 127.0.0.1; } keys { dnsadmin; }; }; key "dnsadmin" { algorithm hmac-md5; secret "IBfN8yDChmVbnNURoSpc8ZQLa1hI5lDQl7hBb5hEQWmqPyj6sCRRkLk2sjVd73vHx1fbwFTnAw28H7sgCyUQZw=="; }; zone "." { type hint; file "named.root"; }; zone "localhost" { type master; file "localhost.zone"; }; zone "1.0.0.127.in-addr.arpa" { type master; file "127.0.0.1.zone"; }; ## zone bidule.ca zone "bidule.ca" { type master; file "bidule.ca.zone"; };