G Suite DNS

Overview

When you enable G Suite, your mail DNS records need to be pointed to Google. How this happens is based on where your DNS is currently hosted.

  • If your DNS is hosted at DreamHost
  • If your DNS is not hosted at DreamHost

If your DNS is hosted at DreamHost

If your nameservers are currently pointed to DreamHost, your site's DNS is hosted at DreamHost. In this case, DreamHost sets up your MX records, verifies the domain with a token in a TXT record, and updates your site's SPF record. For example, the following DNS records are adjusted.

MX records

ALT1.ASPMX.L.GOOGLE.com
ALT2.ASPMX.L.GOOGLE.com
ALT3.ASPMX.L.GOOGLE.com
ALT4.ASPMX.L.GOOGLE.com
ASPMX.L.GOOGLE.com

SPF record

v=spf1 include:_spf.google.com ~all

CNAME

DreamHost creates a custom CNAME for the 'mail' subdomain that points to ghs.googlehosted.com.

TXT verification

DreamHost uses the method of creating a TXT record with a verification string. This verification string is added automatically when you sign up for G Suite in your DreamHost panel. To view this record, navigate to the Manage Domains page in your panel. Click the 'DNS' link under your domain to view the record.

If your DNS is not pointed to DreamHost

If your nameservers are pointed to another company, DreamHost sends you an email with information on how to update your DNS records at that company. Here are a few links that may be of help for some popular hosts.

View the following link for information on what MX records you need to update at your current host.

Your hosting company may use different labels for the name and value fields. You may also be required to add the trailing period at the end of the server name. Make sure you follow the specific instructions for your domain host when entering these values.

Name/Host/Alias Time to Live (TTL*) Record Type Priority Value/Answer/Destination
Blank or @ 3600 MX 1 ASPMX.L.GOOGLE.COM.
Blank or @ 3600 MX 5 ALT1.ASPMX.L.GOOGLE.COM.
Blank or @ 3600 MX 5 ALT2.ASPMX.L.GOOGLE.COM.
Blank or @ 3600 MX 10 ALT3.ASPMX.L.GOOGLE.COM.
Blank or @ 3600 MX 10 ALT4.ASPMX.L.GOOGLE.COM.

The TTL is the number of seconds before subsequent changes to the MX record go into effect. Once the MX records are configured correctly, it is recommended you change the TTL value from 3600 to 86400, which tells servers across the Internet to check every 24 hours for updates to the MX record instead of every hour.

Domain verification with an MX record

You can also verify your domain for G Suite with an MX record. The G Suite Setup Wizard provides a unique MX record, with a priority of 15, for verification. This record is only available from the Setup Wizard that is encountered right after you sign up for G Suite.

Optional CNAME records

You may also create the following CNAME records if you need them.

CNAME Time to Live (TTL) Record Type Value
mail 3600 CNAME ghs.googlehosted.com
calendar 3600 CNAME ghs.googlehosted.com

DNS

G Suite provides an API for resellers. Documentation can be found at the following link:

See also

Did this article answer your questions?

Article last updated PST.