I'm doing the configuration of a DNS server with Ubuntu 12.04 and Bind9. I have a list of clients like this:
192.168.101.23
192.168.101.24
192.168.101.25
192.168.102.23
192.168.102.24
192.168.102.25
This is the zone defined for forward lookup, nothing to worry about here:
CC1 IN A 192.168.101.22
CC2 IN A 192.168.101.23
CC3 IN A 192.168.101.24
CC4 IN A 192.168.102.22
CC5 IN A 192.168.102.23
CC6 IN A 192.168.102.24
But it's not clear to me how I'am supposed to define the reverse lookup, with two or more subnets:
22 IN PTR CC1.dns.net.
22 IN PTR CC4.dns.net. (I think, this is way too wrong. Should I write down 102.22 instead of 22?)
Any ideas?