Problems with in-addr.arpa...

Joseph S D Yao jsdy at cospo.osis.gov
Tue Jul 18 17:22:11 UTC 2000


On Tue, Jul 18, 2000 at 12:39:41AM -0700, dennisp wrote:
> Hi !
> 
> 
> I built that DNS using bind 8 and created one zone for our
> domain and a in-addr.arpa zone for the reverse records
> (16.172.in-addr.arpa).
> 
> I entered all the hostnames and ip-adresses into the first
> zone-file and entered the reverse ip-addresses into the
> in-addr.arpa-file.
> (1.3.	  IN PTR	myhost) for example
> 
> But when I try a nslookup on a ip-address I get the name +
> in-addr.arpa as the real name for the host. Obviously,
> that's wrong!

The default domain for this zone file is "16.172.in-addr.arpa".  So, of
course, when you enter a relative host name like "myhost", you end up
with "myhost.16.172.in-addr.arpa".

In reverse-DNS zone files, you must use absolute host names, which are
fully qualified domain names followed by a ".".

1.3		IN  PTR		myhost.mydomain.mytld.

OBTW:
> To: dennisp <dploegerNOdpSPAM at gmx.de.invalid>
This is generally deprecated on this mailing list.  Also, I hate it.
;-)

-- 
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