CNAME question

parker at bctm.com parker at bctm.com
Fri Feb 4 19:24:53 UTC 2000


Rani,

> I am tearing my hair out over this!!
> anyone have clues ?
> 
> ps. what i really want is that all querys to xxx.mycompany.com 
> or xxx.myothercompany.com should be the same.


The simplest solution is to configure both 'mycompany.com' and
'myothercompany.com' using the same files. I.e. (assuming you're using
BIND 8.x):

...
...
zone "mycompany.com" {
	type master;
	file "db.mycompany";
};

zone "myothercompany.com" {
	type master;
	file "db.mycompany";
};


And make sure you don't reference the domain name in the zone file (i.e.
use '@' for the origin, etc).

Cheers,

Ross
-- 
Ross Parker            |      UNIX Sys Admin, Perl and C toolsmithing,
Systems/Network Admin  |     Networking and security, CGI applications.
Telus Mobility         |
                       | A "Frisbeterian" believes that when you die, your soul
parker at bctm.com        | goes up on the roof and you can't get it back down...




More information about the bind-users mailing list