Welcome to WebmasterWorld Guest from

Forum Moderators: phranque

Message Too Old, No Replies

DNS CNAME question

Which takes precedence?



9:01 am on Jan 7, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member


For one of my domains, I'm installing google apps (specifically, Google mail). Now, I wonder, which of the following two rules will take precedence? Assume they are included in the zone file in this order:

mail IN CNAME ghs.google.com.
* IN CNAME <mydomain>

say, I wanted to hit mail.google.com, would the wildcard record take precedence and kick you to <mydomain> or would the mail CNAME record take precedence?


8:04 pm on Jan 9, 2010 (gmt 0)

WebmasterWorld Senior Member encyclo is a WebmasterWorld Top Contributor of All Time 10+ Year Member

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
subdomain should be unaffected by the wildcard entry.

There's this RFC which explains it in full: [tools.ietf.org...]


Featured Threads

Hot Threads This Week

Hot Threads This Month