Bind dual zones?

Stephane Bortzmeyer bortzmeyer at
Fri Jul 27 13:58:16 UTC 2007

On Fri, Jul 27, 2007 at 08:37:23AM -0400,
 Tim Hibbard <hibbard at> wrote 
 a message of 37 lines which said:

> It has become a burden for the DNS team to create new DNS zone.  If
> a user asks for the administrator has to do a dual
> entry in two different zones.  One for and one for
>  Is there a way to overcome this problem so when we
> add that "something" is created to point
> to the same address?

Very easy. Several solutions:

1) Use only one zone file, with all the content in it being relative
(i.e. using @ instead of the zone name, not adding the zone name and
the final dot, etc). Then use, a symbolic link on the master name

2) Generate zone files from some sort of a database (it does not have
to be a relational database engine, text files with a format are
databases, too, and so are XML or JSON files) with ten lines of Perl
or Python.

3) Mark Andrews will probably add: DNAME :-)

More information about the bind-users mailing list