Google Workspace DNS

Overview

Google Workspace needs a few DNS records on your domain: mail (MX) records so email reaches Google, an SPF record so your mail is trusted, and a verification record so Google knows you own the domain. Who sets these up depends on where you signed up and where your DNS is hosted.

Your DNS is hosted at DreamHost if your domain uses DreamHost's nameservers. If you aren't sure, see Checking where your Nameservers are pointed.

The records

TypeNameValue
MX(your domain)1 ASPMX.L.GOOGLE.COM
MX(your domain)5 ALT1.ASPMX.L.GOOGLE.COM
MX(your domain)5 ALT2.ASPMX.L.GOOGLE.COM
MX(your domain)10 ALT3.ASPMX.L.GOOGLE.COM
MX(your domain)10 ALT4.ASPMX.L.GOOGLE.COM
TXT(your domain)v=spf1 include:_spf.google.com ~all
CNAME (optional)mailghs.googlehosted.com
TXT(your domain)Your verification record, unique to your domain

If your domain already has a TXT record that starts with v=spf1, don't add a second one. Add include:_spf.google.com to the existing record instead.

You signed up at DreamHost and your DNS is at DreamHost

Everything is set up for you.

  • The mail and SPF records are added when you purchase.

  • The verification record is added after you create your admin user, and we verify the domain with Google automatically.

To see the records, follow Viewing your DreamHost DNS records.

You signed up at DreamHost and your DNS is somewhere else

You'll need to add the records at your DNS provider.

  1. Add the five MX records and the SPF record from the table above. Remove any other MX records for the domain.

  2. After you create your admin user, click the View DNS Records button on the Google Workspace page, copy the verification TXT record, and add it as well.

We check for the verification record automatically, so there's no button to click once it's added. DNS changes can take a few hours to be visible. We'll email you if the domain still isn't verified after a few days.

You signed up directly with Google and your DNS is at DreamHost

Google's setup tells you which records to use. Add the MX records on the Custom MX page in your panel, and update your SPF record in your domain's DNS settings. See Configuring custom MX records and Add an SPF record.

If your Gmail is already working, don't change your MX records. Changing them unnecessarily can cause incoming mail to bounce.

See also

DreamHost links

Third-party links

This form is only for article feedback. If you require assistance, please contact support. Do not include passwords, account numbers, or other private account details.

Did this article answer your questions?

Article last updated PST.

Still not finding what you're looking for?