CNAME question

Barry Margolin barmar at bbnplanet.com
Fri Feb 4 19:16:53 UTC 2000


In article <389abfb7 at news.olivant.fo>,
Rani Hansen <rani_list at post.olivant.fo> wrote:
>
>I have this peculiar question/(lack of understanding)
>
>
>mycompany.com has various  IN A, MX & CNAME records.
>mycompany is also known as myothercompany.com.
>
>if i put this:
>myothercompany.com. IN CNAME mycompany.com.
>it then zonefile for myothercompany.com then it will resolv ok,
>but it is not possible to do a named-xfer on a secondary
>nameserver. 
>this is the response:
>-------------
>named-xfer[26824]: wrong answer in resp from
>[5.6.7.8], zone myothercompany.com: [mycompany.com IN SOA]

A name can't have a CNAME record and other records.  A zone name has to
have its own SOA and NS records, so it can't also have a CNAME record.

-- 
Barry Margolin, barmar at bbnplanet.com
GTE Internetworking, Powered by BBN, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.



More information about the bind-users mailing list