Bind dual zones?

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


On Fri, Jul 27, 2007 at 08:37:23AM -0400,
 Tim Hibbard <hibbard at research.ohiou.edu> 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 foobar.ohiou.edu the administrator has to do a dual
> entry in two different zones.  One for foobar.ohiou.edu and one for
> foobar.ohio.edu.  Is there a way to overcome this problem so when we
> add foobar.ohiou.edu that "something" is created to point
> foobar.ohio.edu 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
server.

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