Skip to content

Instantly share code, notes, and snippets.

@clakeb
Last active June 15, 2017 22:09
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save clakeb/3773307 to your computer and use it in GitHub Desktop.
Save clakeb/3773307 to your computer and use it in GitHub Desktop.
Quick .zone file to import when you are setting up Google Apps. I use it with CloudFlare. Enjoy.
; CNAME
calendar 1 IN CNAME ghs.googlehosted.com
drive 1 IN CNAME ghs.googlehosted.com
mail 1 IN CNAME ghs.googlehosted.com
sites 1 IN CNAME ghs.googlehosted.com
video 1 IN CNAME ghs.googlehosted.com
; MX
@ 1 IN MX 10 aspmx3.googlemail.com
@ 1 IN MX 1 aspmx.l.google.com
@ 1 IN MX 5 alt2.aspmx.l.google.com
@ 1 IN MX 5 alt1.aspmx.l.google.com
@ 1 IN MX 10 aspmx2.googlemail.com
; SRV
_xmpp-server._tcp.@ 1 IN SRV 20 0 5269 alt4.xmpp-server.l.google.com
_xmpp-server._tcp.@ 1 IN SRV 5 0 5269 xmpp-server.l.google.com
_xmpp-server._tcp.@ 1 IN SRV 20 0 5269 alt2.xmpp-server.l.google.com
_xmpp-server._tcp.@ 1 IN SRV 20 0 5269 alt3.xmpp-server.l.google.com
_xmpp-server._tcp.@ 1 IN SRV 20 0 5269 alt1.xmpp-server.l.google.com
@clakeb
Copy link
Author

clakeb commented Sep 23, 2012

Quick .zone file to import when you are setting up Google Apps. Change as needed. Hope this saves people time. You will still have to add the DKIM records and SPF records and you may want to change some of the CNAMEs. I use this with CloudFlare and import and export these zones to make it easy to set up Google Apps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment