Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cname question

Status
Not open for further replies.

mufka

ISP
Joined
Dec 18, 2000
Messages
587
Location
US
I want to add a CNAME record pointing domain1.com to domain2.com. I can do it for records like but just domain.com does not work. I get an error in the log stating
Feb 16 11:50:51 server named[560]: domain1.com has CNAME and other data (invalid)
Feb 16 11:50:51 server named[560]: domain1.com:26:domain1.com: CNAME and OTHER data error
Feb 16 11:50:51 server named[560]: master zone "domain1.com" (IN) rejected due to errors (serial 2005021629)


The record looks like:
domain1.com. IN CNAME domain2.com

Is this just not possible?
 
You must have other data for domain1.com in the zone file.

If you have a CNAME entry, make sure that it is the ONLY resource record for that domain. For example, if you have " CNAME sparky.mydomain.com", you must not have any A records, MX records, etc. for " [RFC1034 3.6.2] [RFC1912 2.4]

Chris.

**********************
Chris A.C, CCNA, CCSA
**********************
 
there are no other records in the zone file. No MX record or any other A records. Just a CNAME for domain1.com
 
Can you post the complete zone file?

Chris.

**********************
Chris A.C, CCNA, CCSA
**********************
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top