Help: setting a CNAME record for the domain
Tim Maestas
tmaestas at dnsconsultants.com
Sun Feb 25 06:36:38 UTC 2001
Yes, you are doing something wrong. The label of a
CNAME record can not have any other data. The name
of your zone has an SOA and (hopefully) multiple NS
records, therefore you can not have the zone name as
a CNAME. An A record should suffice.
(See RFC's 2181 and 1034)
-Tim
------------------------------------------
http://www.dnsconsultants.com
DNS and other network consulting
------------------------------------------
On Sat, 24 Feb 2001, Tal Dayan wrote:
>
> Hello,
>
> We are suing named 8.1.1 on Redhat 6.2
>
> We try to set in the zone file of the domain 'teiko.com' the following CNAME
> record:
>
> teiko.com. CNAME teiko.ontero.net.
>
> but get the error:
>
> teiko.com has CNAME and other data (invalid)
> Feb 24 21:32:51 dns1 named[2967]: zones/friends/teiko.com:47:teiko.com:
> CNAME and OTHER da
> ta error
>
> When we change the CNAME record to an A record:
>
> teiko.com. A 205.162.50.66
>
> It works just fine. Are we doing anything wrong ?
>
> Since logically the record as an alias, we prefer to have a CNAME rather
> than
> A record.
>
> Thanks,
>
> Tal
>
>
More information about the bind-users
mailing list