2 zone files for same domain?

smoked1

Verified User
Joined
Jul 5, 2005
Messages
85
My servers hostname is neo.cbshost.com. During the install DA added that to DNS. Now I need to add cbshost.com as a domain. Should I really have two zone files for the same domain like that?
 
neo.cbshost.com and cbshost.com are not the same domain. So they can be served with two zone files.

To make everything strictly legal as far as BIND is concerned you might want to add an NS record or two to the cbshost.com zone for the neo.cbshost.com so anyone running dig +trace will get what looks right, but because of the way BIND works, it'll work without it, as long as both zones are on the same server.

Or you can remove the neo.cbshost.com zone completely and add the records you need to the cbshost.com zone.

Jeff
 
Thanks for the response. I suppose it just looked strange to me. I will probably wind up just deleting neo.cbshost.com and adding "neo" as an A record in the cbshost.com zonefile.
 
Back
Top