reverse lookup zone different from /24

Mark Andrews marka at isc.org
Fri Mar 5 11:00:37 UTC 2010


In message <4B90DF0E.8010404 at gmx.it>, fddi writes:
> hello,
> I have many IP sunets which are /22 or /21 and it is really annoying to 
> write 8 reverse subnets
> for a 10.10.0.0/21 network in the named.rev:
> 
> I have to put 8 entries like
> 
> zone "0.10.10.in-addr.arpa" IN {
> zone "1.10.10.in-addr.arpa" IN {
> zone "2.10.10.in-addr.arpa" IN {
> zone "3.10.10.in-addr.arpa" IN {
> ....
> ....
> amd so on.
> 
> is there a way to write only one reverse zone for /22 or /21 or 
> /seominthg-different-form  /24 ?

If you control the reverse of the /16 or you can convince the
administrator of the parent zone you can use DNAME.  Note you will
want slave the parent zone as well so the mapping information is
always available locally.

$ORIGIN 10.10.in-addr.arpa.
0 DNAME 0.elsewhere.
1 DNAME 1.elsewhere.
2 DNAME 2.elsewhere.

1.0.elsewhere. PTR <name>.

Mark
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org



More information about the bind-users mailing list