reverse delegating range of ip addresses

Doug Barton DougB at dougbarton.net
Sun Jan 19 02:06:33 UTC 2003


Kimo R. wrote:
> Hello,
> 
> I have a class C 192.168.1.0/24. I would like to delegate a range
> 39-50. In 1.168.192.in-addr.arpa, I add
> $GENERATE 39-50 $ NS ns1.otherserver.com.
> $GENERATE 39-50 $ NS ns2.otherserver.com.

This isn't exactly how this kind of thing is usually done. In order for 
this to work the servers you're delegating to would have to have zones 
for each one of those individual IP addresses. It would be easier to do 
an RFC 2317 delegation. In the 1.168.192.in-addr.arpa zone you would do 
this:

$ORIGIN 1.168.192.in-addr.arpa.
39-50	NS	ns1.otherserver.com.
39-50	NS	ns2.otherserver.com.
$GENERATE 39-50 $ CNAME	$.39-50

Then the name servers you're delegating to just need one zone, 
39-50.1.168.192.in-addr.arpa.

Hope this helps,

Doug



More information about the bind-users mailing list