Reverse zone with subnet larger than Class C

Torkel Mathisen frost at SLETT.bredband.noT
Tue Feb 28 17:07:56 UTC 2006


Hi,

I trying to add some more reverse zones in bind 9.3.1. 

The problem is that I would like to add zones like 192.168.0.0/22,
192.168.4.0/22 and so on.

Is that possible with BIND?

I've tried several configs:

named.conf:

zone "0-22.168.192.IN-ADDR.ARPA" in {
	type master;
	file "rev/192.168.0-22.rev.db";
};

or

zone "0/22.168.192.IN-ADDR.ARPA" in {
	type master;
	file "rev/192.168.0-22.rev.db";
};

But none of those worked.

My reverse zone file works because if I only add it as Class C it
works.

Anyone know how to do it if possible?

Regards,
Torkel



More information about the bind-users mailing list