Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

Generally wondering whether its possible to have both a CNAME entry with a " * " to domain and a seperate subdomain mapping i.e. like

*              | CNAME | | CNAME |

Is this possible or does the * overwrite the "" and therefore when you enter "" you go to "" ?

share|improve this question

In BIND, the wildcard matches when another record does not exist. See

share|improve this answer
Not just BIND, any RFC 1912 DNS server will do this. – BrianEss Feb 28 '10 at 23:23
RFC1912 is telling operators how not to do wildcards. RFC 1035 is the one that servers comply with. – Alnitak Sep 16 '10 at 12:42

A more specific entry always overrides a wildcard, not the other way around.

For chapter and verse, see §4.3.3 of RFC 1034.

share|improve this answer
From the very last paragraph of section 4.3.3: "For example, if a wildcard RR has an owner name of *.X, and the zone also contains RRs attached to B.X, the wildcards would apply to queries for name Z.X (presuming there is no explicit information for Z.X), but not to B.X, A.B.X, or X." – KajMagnus Jun 27 '12 at 5:19

Your Answer


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