Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Oct 1996 15:02:32 -0500
From:      Hal Snyder <hal@vailsys.com>
To:        questions@freebsd.org
Cc:        "Ben Black <black@gage.com> John Brann" <jbrann@brann.org>
Subject:   Re: DNS, reverse subnets
Message-ID:  <326FCB58.6109@vailsys.com>
References:  <199610241657.MAA25638@doorman.brann.org> <9610241856.AA14296@squid.gage.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ben Black wrote:
> 
> >I am having trouble with the reverse resolution (i.e. converting my
> >IP address back into the hostname).  All the examples I have are based on
> >converting whole networks, is there something different about the '.rev'
> >file when only resolving one address?
> >
> 
> you can't do it.  DNS currently has no support for classless addressing so
> blocks smaller than a class C cannot be delegated.  your provider will have
> to handle the reverse DNS for you.

I think this is in BIND (aka named) 4.9.4, supporting RFC 1101.
Vixie spoke on this at the October LISA - I don't see detailed
references
after a quick net search, but the tutorial included something like:
[with apologies to the *real* foobar.com]

$ORIGIN foobar.com.
net	ptr	0.33.168.192.in-addr.arpa.
net2	ptr	64.33.168.192.in-addr.arpa.

$ORIGIN	33.168.192.in-addr.arpa.
0	ptr	net.foobar.com.
	a	255.255.255.224	; /27
64	ptr	net2.foobar.com.
	a	255.255.255.248 ; /29

I haven't had a chance to try it myself yet.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?326FCB58.6109>