Reverse lookup for classless networks

Barry Margolin barmar at alum.mit.edu
Thu Dec 27 16:01:30 UTC 2018


In article <mailman.74.1545913413.716.bind-users at lists.isc.org>,
 Nagesh Thati <tcpnagesh at gmail.com> wrote:

> Thanks Mark,
> But is there any other way without using any CNAMEs?

The alternative is to have a separate zone for each address, and 
delegate each of them to your server. So the parent zone would have:

0 IN NS ns1.yourdomain.com.
  IN NS ns2.yourdomain.com.
1 IN NS ns1.yourdomain.com.
  IN NS ns2.yourdomain.com.
and so on...

Either way, the parent zone needs to have specific records for each of 
the addresses in the subnet. The client always tries to look up 
w.x.y.z.in-addr.arpa, and only supports delegation at "." boundaries in 
the name. There's no way for it to know automatically that different "w" 
values are delegated to different servers.

-- 
Barry Margolin
Arlington, MA


More information about the bind-users mailing list