// // named.conf // $Id: named.conf,v 1.2 2001/10/28 13:20:36 osa Exp $ // acl "trusted" { localhost; 192.168.1.0/24; }; options { directory "/etc/namedb"; query-source address * port 53; // // statistic // dump-file "/var/stat/named.dump"; memstatistics-file "/var/stat/named.mem"; statistics-file "/var/stat/named.stat"; pid-file "/var/run/named.pid"; // // access control // allow-query { trusted; }; allow-transfer { none; }; allow-recursion { trusted; }; }; controls { unix "/var/run/ndc" perm 0600 owner 0 group 0; }; logging { channel default_ch { file "/var/log/named.log" versions 3 size 100k; severity info; print-time yes; print-category yes; }; channel security_ch { file "/var/log/security.log" versions 3 size 100k; severity info; print-time yes; print-category yes; }; category default { default_ch; }; category security { security_ch; }; }; zone "." { type hint; file "named.root"; }; zone "bind" chaos { type master; file "bind.zone"; }; zone "0.0.127.IN-ADDR.ARPA" { type master; file "localhost.rev"; }; zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.INT" { type master; file "localhost.rev"; }; zone "example.com" { type master; file "example.com"; allow-query { any; }; allow-transfer { localhost; 192.168.0.1; }; }; zone "5.168.192.in-addr.arpa" { type slave; file "slave/5.168.192.in-addr.arpa"; masters { 192.168.5.1; }; allow-query { any; }; allow-transfer { localhost; }; }; // EOF