Will a wildcard CNAME take precedence over a named CNAME record

cname-recorddomain-name-system

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

*              | CNAME | domain.com
bla.domain.com | CNAME | some.example.com

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

Best Answer

In BIND, the wildcard matches when another record does not exist. See http://en.wikipedia.org/wiki/Wildcard_DNS_record.

Related Topic