Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is this valid use of wildcard CNAME records?

@       A     208.77.188.166
stage   A     208.77.188.165
dev     A     208.77.188.167

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

Or should I just do this instead?

*       A     208.77.188.166
*.stage A     208.77.188.165
*.dev   A     208.77.188.167

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

share|improve this question
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.