// // named.conf // // Provided by Red Hat bind package to configure the ISC BIND named(8) DNS // server as a caching only nameserver (as a localhost DNS resolver only). // // See /usr/share/doc/bind*/sample/ for example named configuration files. // options { listen-on port 53 { any; }; listen-on-v6 port 53 { none; }; directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; memstatistics-file "/var/named/data/named_mem_stats.txt"; allow-query { localhost; }; allow-transfer { xfer; }; blackhole { bogon; }; recursion no; interface-interval 0; dnssec-enable no; dnssec-validation no; dnssec-lookaside auto; /* Path to ISC DLV key */ // bindkeys-file "/etc/named.iscdlv.key"; }; logging { channel default_debug { file "data/named.run"; severity dynamic; }; }; include "/etc/rndc.key"; controls { inet 127.0.0.1 port 953 allow { 127.0.0.1; } keys { "rndc-key"; }; }; include "/etc/named.rfc1912.zones"; acl "xfer" { 202.3.141.140; 202.51.9.12; 127.0.0.1; }; acl "bogon" { 0.0.0.0/8; 10.0.0.0/8; 169.254.0.0/16; 172.16.0.0/12; 192.0.2.0/24; 192.168.0.0/16; }; ## THIS IS AN EXAMPLE CONFIGATION FOR PRIMARY (MASTER) DNS ZONE. PLEASE ADJUST TO YOUR ENVIRONMENT. #zone "example.jp" in { # type master; # file "example.jp.zone"; # allow-query { any; }; #}; ## THIS IS AN EXAMPLE CONFIGATION FOR SECONDARY (SLAVE) DNS ZONE. PLEASE ADJUST TO YOUR ENVIRONMENT. #zone "example.net" in { # type slave; # file "slaves/example.net.zone"; # masters { 192.0.2.1 ; } ; # allow-query { any; }; #};