If I have an address record setup as follows...

www.mywebsite.com  111.1.1.1
*.mywebsite.com    111.1.1.2

and a CNAME setup as follows...

beta.mywebsite.com 111.1.1.3

Would pinging beta.mywebsite.com resolve to 111.1.1.2 or 111.1.1.3? How long does it take to refresh after changing.

link|improve this question

78% accept rate
feedback

2 Answers

up vote 7 down vote accepted

a CNAME must point to an hostname not an IP address: http://en.wikipedia.org/wiki/CNAME_record

link|improve this answer
Ah! That explains everything :) – digiguru May 17 '10 at 10:25
feedback

You appear to be mixing two things:

  1. As @Irosa says, a CNAME must point to a domain name, not an IP address

  2. With wildcard records, a more specific entry will always override the wildcard entry.

Furthermore, you can't have a CNAME and other resource records at the same name.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.