Does a zone file specify its domain name?

Stephane Bortzmeyer bortzmeyer at nic.fr
Mon Dec 11 20:56:34 UTC 2006


On Mon, Dec 11, 2006 at 02:22:00PM -0500,
 Eric Berg <eberg at bergbrains.com> wrote 
 a message of 15 lines which said:

> One of the questions that has arisen is whether there is anything in
> the SOA record that indicates to what zone the rr's defined in that
> file belong.

No. There is no way. Actually, it is a good thing, when you manage
hundreds of identical domains, it lets you use and maintain only one
file.

If the zone file contains absolute names:

foobar.example. IN SOA (...

then, you can find out the domain. But in the general case, no.



More information about the bind-users mailing list