// // 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. // # describes the network addresses that named will listen on controls { inet 127.0.0.1 port 955 allow { 127.0.0.1; } keys { rndckey; }; }; # describes the key it will use key "rndckey" { algorithm "hmac-md5"; secret "SUBSTITUTE YOUR RNDC KEY HERE"; }; options { listen-on port 53 { any; }; listen-on-v6 port 53 { any; }; directory "/var/named/chroot"; # Since Bind is jailed, the actual docroot is /var/named/chroot 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 { any; }; recursion yes; # hide our "real" version number version "[secured]"; pid-file "/var/run/named.pid"; session-keyfile "/var/run/session.key"; #managed-keys "dynamic/managed-keys.bind"; allow-transfer { 127.0.0.1; YOURSLAVEIPHERE;}; transfers-out 100; }; logging { channel default_debug { file "logs/named.run"; severity dynamic; }; }; # The root nameservers zone "." IN { type hint; file "etc/db.cache"; }; # localhost - forward zone zone "localhost" { type master; file "etc/db.localhost"; #notify no; }; # localhost - inverse zone zone "0.0.127.in-addr.arpa" { type master; file "etc/db.127.0.0.1"; #notify no; }; # Individual zone files zone "rubyninja.org." IN { type master; file "etc/zones/db.rubyninja.org"; # allow-update { key rndc-key; }; allow-query { any; }; };