Problem Using CNAME

Barry Margolin barmar at bbnplanet.com
Tue Nov 16 15:37:36 UTC 1999


In article <Pine.LNX.4.10.9911161527110.25561-100000 at ddx.a2000.nu>,
 <bind-list at ddx.a2000.nu> wrote:
>i try to make a cname :
>
>(domain tezwaar.nl)
>
><the normal stuff>
>
>localhost       A       127.0.0.1
>
>@               CNAME   overgewicht.nl.
>www             CNAME   www.overgewicht.nl.
>
>but this gives me an error :
>
>Nov 16 15:21:44 ns named[13328]: tezwaar.nl:16:tezwaar.nl: CNAME and OTHER
>data error
>Nov 16 15:21:44 ns named[13328]: master zone "tezwaar.nl" (IN) rejected
>due to errors (serial 1999111605)
>
>i tried to remove the mx record for this domain, and tried to replace @
>with tezwaar.nl, but both do not work.
>when i make an A record of it (so @ A 193.172.72.154) it works ok, but
>because i have multiple domains pointing to the same adress, i would like
>to use a CNAME for it.
>Is this possible ?

You can't use a CNAME for the domain name, because it has to have an SOA
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