SERVFAIL

Mark.Andrews at nominum.com Mark.Andrews at nominum.com
Tue May 29 01:19:46 UTC 2001


> 
> Hi all,
> I get this error when trying to do a "nslookup 4.34.235.184 127.0.0.1"
> "server can't find 184.235.34.4.in-addr.arpa: SERVFAIL"
> My config files follow.
> John Cantu
> 
> --------named.conf--------
> 
> zone "." {
>         type hint;
>         file "root.hints";
> };
> 
> zone "235.34.4.in-addr.arpa" {
> 	type master;
> 	file "myip.dbf";
> };
> 
> --------myip.dbf--------
> 
> @   IN      SOA     jeian.mydomain.com. jeian.mydomain.com. (
> 			2001052601 ; serial number
> 			43200 ; refresh 2x per day
> 			7200 ; retry every 2 hour
> 			2592000 ; expire after 1 month
> 			86400 ; TTL is 24 hours
> mydomain.com.  IN      NS      jeian.mydomain.com.
> 184     IN      PTR     jeian.mydomain.com.
> jeian.mydomain.com.   IN      A       4.34.235.184
> 

	As always check your error logs.  In this case you didn't
	close the opening bracket in the SOA record.  You also have
	no NS records for 235.34.4.in-addr.arpa.

	You also have records that belong in your forward zone in
	your reverse zone's master file.
	
	Also if you don't have the full /24 you should not be declaring
	yourself master for 235.34.4.in-addr.arpa.  You should be talking
	to your ISP for how to do your reverse mappings.

	Mark

myip.dbf:
$TTL  86400
@   IN      SOA     jeian.mydomain.com. jeian.mydomain.com. (
 			2001052601 ; serial number
 			43200 ; refresh 2x per day
 			7200 ; retry every 2 hour
 			2592000 ; expire after 1 month
 			86400 ) ; TTL is 24 hours
@  IN      NS      jeian.mydomain.com.
184     IN      PTR     jeian.mydomain.com.

mydomain.dbf:
$TTL  86400
@   IN      SOA     jeian.mydomain.com. jeian.mydomain.com. (
 			2001052601 ; serial number
 			43200 ; refresh 2x per day
 			7200 ; retry every 2 hour
 			2592000 ; expire after 1 month
 			86400 ) ; TTL is 24 hours
@  IN      NS      jeian.mydomain.com.
jeian   IN      A       4.34.235.184

--
Mark Andrews, Nominum Inc.
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at nominum.com


More information about the bind-users mailing list