root@ns2:/etc/bind# cd /etc/bind root@ns2:/etc/bind# emacs named.conf.local root@ns2:/etc/bind# cat named.conf.local // // Do any local configuration here // zone "clarsen.utahsg.org" { // This server holds slave (secondary) information for this // domain. The information is transfered from the master server type slave; // This information is stored in /var/cache/bind/db.clarsen.utahsg.org // The file is created automatically by bind. file "db.clarsen.utahsg.org"; // Transfer the master (primary) information from the // server at this address masters { 144.38.211.162; }; // Only allow myself to transfer this zone. This is only // here for debugging purposes allow-transfer { localhost; }; // Allow any IP address to query (ask) about this domain. allow-query { any; }; // Do not tell (notify) servers when the domain information changes notify no; }; zone "utahsg.net" { type slave; file "db.utahsg.net"; masters { 144.38.211.162; }; allow-transfer { localhost; }; allow-query { any; }; notify no; }; zone "160-191.211.38.144.in-addr.arpa" { type slave; file "db.160-191.211.38.144.in-addr.arpa"; masters { 144.38.211.162; }; allow-transfer { localhost; }; allow-query { any; }; notify no; }; // Consider adding the 1918 zones here, if they are not used in your // organization //include "/etc/bind/zones.rfc1918"; root@ns2:/etc/bind# /etc/init.d/bind9 restart * Stopping domain name service... bind [ OK ] * Starting domain name service... bind [ OK ] root@ns2:/etc/bind# less /var/log/daemon.log root@ns2:/etc/bind# dig @localhost 163.160-191.211.38.144.in-addr.arpa PTR ; <<>> DiG 9.4.2-P2 <<>> @localhost 163.160-191.211.38.144.in-addr.arpa PTR ; (1 server found) ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58140 ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 ;; WARNING: recursion requested but not available ;; QUESTION SECTION: ;163.160-191.211.38.144.in-addr.arpa. IN PTR ;; ANSWER SECTION: 163.160-191.211.38.144.in-addr.arpa. 3600 IN PTR ns2.utahsg.net. ;; AUTHORITY SECTION: 160-191.211.38.144.in-addr.arpa. 3600 IN NS ns1.utahsg.net. 160-191.211.38.144.in-addr.arpa. 3600 IN NS ns2.utahsg.net. ;; ADDITIONAL SECTION: ns1.utahsg.net. 3600 IN A 144.38.211.162 ns2.utahsg.net. 3600 IN A 144.38.211.163 ;; Query time: 5 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Sun Sep 13 11:07:38 2009 ;; MSG SIZE rcvd: 145