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

I have a wildcard DNS entry (A)


I also have a CNAME.. that I want hit BEFORE the wildcard A entry.

something.my.tld -> something.s3.amazonaws.com

It's not imperative... but I'd like to be able to do this. I'm using a third party for DNS as well, so I can't hack around at BIND.

share|improve this question

2 Answers 2

To expand upon this for the benfit of others in search for an answer on whether a DNS wildcard entry takes precedence over a "normal" subdomain entry, it looks like it varies depending on implementation:

There is a cPanel forum post if you Google "wildcard DNS precedence" which shows that a wildcard entry will take precedence, which isn't compliant to RFC 4592: http://tools.ietf.org/html/rfc4592

Other sites suggest proper behavior for their services

I haven't tested this in practice, but my understanding is that a wildcard is supposed to match requests for non-existent names only, so in your example, the mail subdomain should be unaffected by the wildcard entry.

There's this RFC which explains it in full: rfc4592

The cPanel Technical Sales adviser may simply be incorrect, or cPanel implements wildcard DNS in a faulty manner.

share|improve this answer

Nevermind. totally legit.

Just appears that I needed to let it propigate.

share|improve this answer
DNS does not propagate: en.wikipedia.org/wiki/Domain_Name_System#Record_caching –  einstiien Apr 2 '10 at 17:08

Your Answer


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