[Solved] DNS Zone check Hello, there is a great webpage to test your DNS settings here: http://www.zonecheck.fr/zonecheck/form.html.en For me (broutille.com) it is not working, i have this result: Test results ---- fatal ---- f: Loopback is not resolvable * Ref: IETF RFC1912 (p.13 4.1. Boot file setup) These are set up to either provide nameservice for "special" addresses, or to help eliminate accidental queries for broadcast or local address to be sent off to the root nameservers. All of these files will contain NS and SOA records just like the other zone files you maintain. * ns1.broutille.com./87.106.26.154 Final status FAILURE Can anyone help me ? Have you the same error ? I dont know if it is my firewall who blocks some request or not any idee ? I have tried to add a zone in named.conf like this: zone "localhost" { type master; file "db.localhost"; }; With this content for the db.localhost file (and then restart bind9 with /etc/init.d/bind9 restart): ; ; BIND data file for local loopback interface ; $TTL 604800 @ IN SOA localhost. root.localhost. ( 1 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Negative Cache TTL ; NS localhost. localhost. A 127.0.0.1 But there is something wrong, because i have the same error message as before, so if someone can check the RFC 1912 Page 13 section 4.1 ftp://ftp.ietf.org/rfc/rfc1912.txt it would be great, thank you.
I found the solution Here is what i have done: 1) edit /etc/bind/named.conf and change this: zone "0.0.127.in-addr.arpa" { type master; file "db.127.0.0"; }; from db.local to db.127.0.0 to be clean with DNS notation (it is purely esthetic). Add those lines: zone "localhost" { type master; file "db.localhost"; }; 2) copy the file db.127 to db.127.0.0 and edit it this way: ; ; BIND reverse data file for local loopback interface ; $TTL 604800 @ IN SOA localhost. root.localhost. ( 1 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Negative Cache TTL ; @ IN NS localhost. 1 IN PTR localhost. Note that i removed the .0.0 on the last line (PTR) in comparison on db.127 3) create this file now: /etc/bind/db.localhost with this content ; ; BIND data file for local loopback interface ; $TTL 604800 @ IN SOA localhost. root.localhost. ( 1 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Negative Cache TTL ; @ IN NS localhost. localhost. IN A 127.0.0.1 Dont forget the point "." after localhost. in the last line. 4) now do a chown bind:bind to the two files db.127.0.0 and db.localhost 5) restart bind9 with /etc/init.d/bind9 restart 6) check with zonecheck website: http://www.zonecheck.fr/zonecheck/form.html.en and here is the result now: ZoneCheck: broutille.com. Zone information Zone broutille.com. Primary ns1.broutille.com. 87.106.26.154 Secondary ns6.gandi.net. 217.70.177.40 Progress Progression Tests Speed Time 100% 106 23.47 0:01 can deliver email to hostmaster Final status SUCCESS Profile: default (default profile for checking delegations) Statistics: 107 tests in 8.56 sec accross 2 nameservers Release: ZoneCheck-2.0.4 Last generated: 2006/08/14 21:34 UTC