SUMMARY: bind question- cname for a zone?

From: Christopher L. Barnard (cbar44@tsg.cbot.com)
Date: Fri Apr 14 2000 - 11:55:16 CDT


I asked:

> I have a very strange named/bind question for the collective. This is
> bind version 8.2.2 on Suns with OS 2.5.1, 2.6, and 7 btw.
>
> We use DNS subzones to identify a project. So all of the servers and clients
> associated with project XXX are in zone XXX.cbot.com. We have one project
> that goes by two different names. At the moment I have just picked one of
> those names for DNS, and the other one fails. Is it possible to alias one
> *zone* to another *zone*? This is basically a CNAME for an entire zone.

The answer:

as I was afraid, Bind has no way of having a CNAME for a zone. David
Brierley did have an interesting suggestion, though. If anyone else
needs to do this, just make the master for the real zone also the master
for the fake zone. Then write a simple script that reads in the real zone
file and generates the fake zone file, with all machine names a CNAME to
the real zone name. Although I have not done it, this should work as long as
that script is called regularly via cron...

Thanks to:

James Ford <jford@tusc.net>
"Kain, Becki (B.)" <bkain1@ford.com>
"David H. Brierley" <dhb@ssd.ray.com>

+-----------------------------------------------------------------------+
| Christopher L. Barnard O When I was a boy I was told that |
| cbarnard@tsg.cbot.com / \ anybody could become president. |
| (312) 347-4901 O---O Now I'm beginning to believe it. |
| http://www.cs.uchicago.edu/~cbarnard --Clarence Darrow |
+----------PGP public key available via finger or PGP keyserver---------+



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:06 CDT