a question?

Simon Waters Simon at wretched.demon.co.uk
Mon Jan 7 16:28:34 UTC 2002


David Xiao wrote:
> 
> When I write the zone file like that
> www.xxx.com.   IN     CNAME      www.xxx.com.hk
> xxx.com.       IN     CNAME      www.xxx.com.hk
> 
> the xxx.com can not be found,the www.xxx.com can be found.
> Does that means I can not set xxx.com with CNAME?

You can not have a "CNAME" and other data for the same name in
the DNS.

> but if I wanna do the same thing like that,
> How can I set the zone file?

You can't - you have to point the domain at an "A" record in
most cases.

It's also possible in some cases to use the same zone file for
both zones to achieve a similar effect.


More information about the bind-users mailing list