Get errors with NS set to 127.0.0.1 in /etc/resolv.conf

Joseph S D Yao jsdy at cospo.osis.gov
Thu Sep 14 22:10:03 UTC 2000


On Thu, Sep 14, 2000 at 05:55:04PM -0400, Joseph S D Yao wrote:
> 
> (1) This is not a resolution problem.  This is an 'nslookup' problem.
> If it can't find a reverse lookup for an IP address at that IP address,
> it refuses to allow it to initially be a name server.  However, if you
> later say "server 127.0.0.1", it should allow this.

Providing that you aren't blocking 127.0.0.1 from querying.

> (2) Nevertheless, you SHOULD have a reverse DNS file for 127.0.0.1.

You really should.  It's easy.

=======================================================================
; zone.127.0.0 - for zone 0.0.127.in-addr.arpa.
$TTL		86400
@  IN  SOA  myserver.mydomain.com. hostmaster.mydomain.com.  (
		2000091401	;  Serial Number
		10800		;  Refresh
		3600		;  Retry
		604800		;  Expire
		86400  )	;  Negative TTL

	IN	NS	myserver.mydomain.com.
	IN	NS	otherserver.mydomain.com.

1	IN	PTR	localhost.
=======================================================================

-- 
Joe Yao				jsdy at cospo.osis.gov - Joseph S. D. Yao
COSPO/OSIS Computer Support					EMT-B
-----------------------------------------------------------------------
This message is not an official statement of COSPO policies.



More information about the bind-users mailing list