G Suite DNS

Overview

If your DNS is hosted at DreamHost but you've signed up for G Suite at Google

If your nameservers are currently pointed to DreamHost, your site's DNS is hosted at DreamHost. If you purchased a G Suite account at Google, you must then update your site's MX records in the DreamHost panel to point to Google.

MX records

When setting up your domain with G Suite, Google's panel will guide you through the configuration of your MX records. Within the G Suite panel, the following MX records display:

1 ASPMX.L.GOOGLE.com
5 ALT1.ASPMX.L.GOOGLE.com
5 ALT2.ASPMX.L.GOOGLE.com
10 ALT3.ASPMX.L.GOOGLE.com
10 ALT4.ASPMX.L.GOOGLE.com

You must enter these records into your DreamHost panel as shown below. Make sure to enter the priority before the record name.

You can copy and paste each record from the list above.

Updating your MX records

  1. Navigate to the Custom MX page.
  2. To the right of your domain, click the Edit button.
  3. Enter Google's MX records at the bottom of this page.
    Google mx records

Once saved, it will take about 6 hours to update online. Your email will then be hosted with Google.

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 (instead of every hour) for updates to the MX record.

SPF record

You must also update your SPF record to point to Google using the following record:

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

View the following article for instructions on how to create an SPF record in your panel:

If your DNS is hosted at DreamHost and you've signed up for G Suite in the panel

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 then updates your site's SPF record. For example, the following DNS records are automatically adjusted:

MX records

1 ASPMX.L.GOOGLE.com
5 ALT1.ASPMX.L.GOOGLE.com
5 ALT2.ASPMX.L.GOOGLE.com
10 ALT3.ASPMX.L.GOOGLE.com
10 ALT4.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 hosted at DreamHost but you've signed up for G Suite in the panel

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:

MX records

When setting up your domain with G Suite, Google's panel will guide you through the configuration of your MX records. Within the G Suite panel, the following MX records will display:

Google mx records

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 the following 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 (instead of every hour) for updates to the MX record.

SPF record

You must also update your SPF record at your site's hosting company to point to Google using the following record:

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

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 appears 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.