What? You’re not using CloudFlare? It’s really easy to get yourself setup and I can go on-and-on about why you should – in fact, I do in this post on why you should use CloudFlare. At this point, let’s assume you’ve joined the rest of us powering our sites through CloudFlare. Well by now, your DNS has been taken over and you may want to setup Google Apps email. If so, here are instructions on how to properly setup your DNS entries to play nice together.
There are 2 types of entries to configure / add to your DNS zone. Google Apps does a good job of walking you through this, and so does this CloudFlare knowledgebase. entry, but I find sometimes seeing it visually clears up any doubts. After all, we want to get it right the first time. So here’s what we’re going to add as instructed by Google Apps:
Firstly, to setup Google Apps email, you will need to enter a CNAME entry to you DNS zone:
|Your URL prefix
When you setup this entry, be sure to deactivate CloudFlare from handling traffic on this entry. This means the cloud icon should be grayed out, not active (orange). There’s no need for CloudFlare to handle your mail as that’s not its purpose.
Next, Google Apps email requires that you add the following 5 MX entries to your DNS. These are necessary to ensure your email flows through to/from Google’s mail servers.
If you did all that correctly, your CloudFlare DNS entries will look like this:
Don’t forget to change yourdomain.com to your real domain URL. If you’ve completed these steps, you can now wait for the internet to propagate these DNS changes which can take anywhere from 1 hour to 48 hours. So get a drink, write something worthwhile, and check back later. If you have any questions, just leave a comment and I’ll do my best to help.