Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is this valid use of wildcard CNAME records?

@       A
stage   A
dev     A

*       CNAME @
*.stage CNAME stage
*.dev   CNAME dev

Or should I just do this instead?

*       A
*.stage A
*.dev   A

Can I do this on GoDaddy?
Can I do this on TUCOWS?

share|improve this question

Either version appears syntactically correct, but personally I prefer the second way of doing it so as to avoid using CNAMEs. They have their place, but the restrictions on using them as the target of some other DNS types may be an issue.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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