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

I'm just a little confused... I'm using Gmail for my mail service, and have followed their instructions. I wanted to allow users to access their email via, but just hoping to get a little clarification.

Do I need both the CNAME and A records, or just the CNAME?

I deleted the A record for and added a CNAME recored which points to But, now I'm wondering if I should have kept that in there?

share|improve this question
up vote 3 down vote accepted

No, you were correct to remove the old A record and replace it with the CNAME for If a particular entry (e.g. has a CNAME record, it should not have either A or AAAA records as these will be disregarded.

Google does not provide individual IP addresses for each customer to use. Setting the CNAME to causes requests to go to a specialized server at that address that looks up your domain and redirects web users to Gmail for your domain.

share|improve this answer
It CAN have both records, but if CNAME is present, A will be disregarded. – Tibor Jul 16 '12 at 14:53
Ok, thanks for clarifying! – kevi kevi Jul 16 '12 at 15:24
Email is routed based on MX records, not CNAMEs. – ThatGraemeGuy Jul 16 '12 at 15:47
Doh. I forgot that. And I've even set this up last week. – Michael Hampton Jul 16 '12 at 15:51

Your Answer


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.