question about overlapping reverse zones

/dev/rob0 rob0 at
Tue Aug 9 14:06:16 UTC 2011

On Tue, Aug 09, 2011 at 02:52:10PM +0200, Christian Pinedo Zamalloa
> I would like to know if it is possible to configure in Bind
> overlapping reverse zones. For example, load all reverse zones for
> IPv4 private addressing that come configured by default with the
> package Bind of my Linux distribution:
> zone ""      { type master; file "/etc/bind/db.empty"; };

BIND named does this by default now. Did you know that? Did your 
distribution BIND packager know that? :) See the "Built-in Empty 
Zones" section under "options Statement Definition and Usage" in
BIND 9 ARM chapter 6.

> And only add one new zone for a specific zone for which I need 
> reserve resolution:
> zone ""      { type master; file
> "/etc/bind/db.rev.10.10.10"; };
> - Could I configure two overlapping zones in Bind?

First off, understand that there is nothing "magical" about zones. DNS is DNS, and it all works the same way.

The right way to do it, if you need both zones, is to put proper 
delegation records in the parent domain.

The simple way to do it, if you only want records for and NXDOMAIN for the rest of, 
would be to use Lo and behold, any reversed IP 
addresses which do not have corresponding PTR records will come up 
with NXDOMAIN results.

> - If I do a reverse zone resolution I suppose that the more 
> specific zone (for zone would
> be the chosen by Bind to respond (instead of Is 
> that true?

I have no idea. You could try it and see? Or, just do it as I 
suggested, which is easier and better anyway.
    Offlist mail to this address is discarded unless
    "/dev/rob0" or "not-spam" is in Subject: header

More information about the bind-users mailing list