Overview per mail provider

Google Workspace: set up and check SPF, DKIM, DMARC and MX

Everything a domain needs in DNS for mailboxes at Google Workspace on one page: the values Google Workspace specifies, what to switch on in the Google Workspace admin interface, the most common mistake and a step-by-step guide per record. The email check tests your domain right here.

Guides for Google Workspace

Email check for Google Workspace

The email check tests in one run whether the domain’s MX, SPF, DKIM and DMARC match Google Workspace and shows what to do for every finding.

Google Workspace: what you should know

Google Workspace gets by with few records: one MX record to smtp.google.com, the SPF record with include:_spf.google.com and a TXT record for DKIM at google._domainkey. You generate the DKIM key yourself in the Admin console; without that step and the click on “Start authentication” Gmail does not sign with your domain.

Google is also the strictest receiver: anyone sending to Gmail accounts needs SPF or DKIM, and anyone sending around 5,000 messages or more a day there must have SPF, DKIM and a DMARC record. Setting up your own Workspace domain properly is therefore also the precondition for newsletters reaching Gmail recipients.

The domain must be verified in the Admin console; after turning on Gmail it takes 24 to 72 hours before a DKIM key can be generated.

The values for Google Workspace at a glance

The records Google Workspace expects for a custom domain; the guides above cover the details.

  • MX: 1 smtp.google.com
  • SPF: v=spf1 include:_spf.google.com ~all
  • DKIM: With Google Workspace you generate the DKIM key yourself in the Admin console and publish the public part as a TXT record. The default selector is google, so the record lives at google._domainkey. Google offers 2048 bits; 1024 bits is only meant for DNS hosts that cannot store values that long.
  • DMARC: Google describes DMARC as the third step after SPF and DKIM and recommends waiting 48 hours after setting those up. The record is a TXT record at _dmarc at the DNS host; the Admin console has no setting for it. You start with p=none and a rua address, then move step by step through quarantine to reject.

Where to create the records

Google Workspace specifies the values; they are created at the domain’s DNS host, the place the name servers point to. The guides by host show the way to the DNS editor of IONOS, STRATO, Hetzner, Cloudflare and other providers.

Frequently asked questions

Which DNS records does Google Workspace need for a custom domain?
MX for receiving, SPF and DKIM for sending and DMARC as the policy for both. The domain must be verified in the Admin console; after turning on Gmail it takes 24 to 72 hours before a DKIM key can be generated.
What goes wrong most often with Google Workspace?
The DKIM record is in DNS, but “Start authentication” was never clicked in the Admin console. Gmail then does not sign with the domain’s key. Check the status under “Authenticate email” in the Admin console and start authentication.
How do I check whether my domain is set up correctly for Google Workspace?
With the email check on this page: it shows MX, SPF, DKIM and DMARC with a rating and recommendation. So that nothing changes unnoticed, DomainWarn then keeps checking the domain.

All hosts at a glance

DomainWarn checks SPF, DKIM, DMARC, DNS and certificates of all client domains regularly and reports changes before mail lands in spam.

Monitor this domain continuously14-day free trial, no credit card.

Other mail providers

All mail providers at a glance