domain CNAME ?
Michael Voight
mvoight at cisco.com
Wed Jul 28 19:28:14 UTC 1999
You can't. You would normally make WWW the CNAME record.
Why not just have another A record for mydomain.com pointing to
1.2.3.5??
You can have multiple A records pointing to the same address. Or make
the A record for mydomain.com and the CNAME for www.mydomain.com.
If you could alias mydomain.com, you would never find the NS or SOA
records for it. You would go into a loop, because a search for
www.mydomain.com would alias it to www.www.mydomain.com, and so on. If a
CNAME exists for a host, this is the only RR you can have for it.
Michael Voight
Cisco TAC
Chris Cariffe wrote:
>
> how can i take a domain record
>
> mydomain.com. IN A 1.2.3.4
>
> and change it to cname to a
>
> www.mydomain.com. IN A 1.2.3.5
> mydomain.com. IN CNAME www.mydomain.com.
>
> is it possible?
>
> this is so if a web browser put's in http://mydomain.com/ they get
> redirected or a new name of www.mydomain.com
>
> i have a gut feeling that this is going to have to be set up via a http
> server redirect but wanted to see if there is a way to CNAME my domain itself
>
> thanks
>
> i did try the above and bind wouldn't start due to errors
More information about the bind-users
mailing list