10 min read Diesen Artikel auf Deutsch lesen Lire cet article en français Ler este artigo em português

Google Workspace DNS Records for Email

The short answer

Google Workspace DNS records for email come down to five entries at your DNS host: a google-site-verification TXT at @, an MX at @ pointing to smtp.google.com with priority 1, one SPF TXT at @ (v=spf1 include:_spf.google.com ~all), a DKIM TXT at google._domainkey that you generate and activate in the Admin console, and a DMARC TXT at _dmarc. If you send through Brevo, as EmailFlow OS does, add Brevo's DKIM records too and keep SPF as one record.

In this article

Which Google Workspace DNS records does a domain actually need?

A Google Workspace domain needs a small, fixed set of records. Each one does its own job, and mixing them up causes most setup failures. Verification proves to Google that you own the domain. MX tells other servers where to deliver mail for you. SPF, DKIM and DMARC cover the mail you send. If you plan to send cold email from the domain, none of the records in this table is optional. Gmail's sender guidelines expect authentication from every sender, and its bulk sender rules require SPF, DKIM and a DMARC record of at least p=none.

Record Type Host / name Value (example)
Domain verification TXT @ google-site-verification=… (string from the Admin console)
Inbound mail MX @ smtp.google.com, priority 1
SPF TXT @ v=spf1 include:_spf.google.com ~all
DKIM TXT google._domainkey v=DKIM1; k=rsa; p=… (generated in the Admin console)
DMARC TXT _dmarc v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com
Core Google Workspace DNS records. The verification and DKIM values are unique to your tenant, so copy them from the Admin console.

DNS changes don't take effect instantly. Resolvers keep serving the old value until the record's TTL runs out, so check the live record with dig before you decide a change has failed.

Illustration for the question “Which Google Workspace DNS records does a domain actually need?”
AI-generated image

What are the Google email DNS records?

Google email DNS records are the records you publish so that Gmail can run on your own domain through Google Workspace: a verification TXT, the MX record smtp.google.com for receiving, and SPF, DKIM and DMARC for sending. They're the same five records listed above; "Google email" and "Google Workspace" mean the same setup here. A personal @gmail.com address has no DNS records for you to manage, because Google owns and runs the gmail.com domain and its records.

How it works: Google gives you the values in the Admin console, and you enter them at whoever hosts your domain's DNS, which might be your registrar, Cloudflare or another provider. Google can't write them for you unless it is also your DNS host. Check each one from the command line: dig MX yourdomain.com for mail routing, dig TXT yourdomain.com for verification and SPF, dig TXT google._domainkey.yourdomain.com for DKIM and dig TXT _dmarc.yourdomain.com for DMARC.

The limits: these records only cover mail that Google's servers handle. If another service sends as your domain, such as a newsletter tool or Brevo, it needs its own DKIM record and has to be added to your one SPF record. The records also don't decide whether a message reaches the inbox. The receiving server decides that, based on authentication, reputation and content together.

How do I add Google Workspace DNS records at my DNS host?

You add every record at the company that hosts your domain's DNS, not inside Google. The Admin console only gives you the values. Work through them in this order, because verification and MX have to be in place before mail flows, and DKIM can only be activated once its record resolves:

  1. Verification: copy the google-site-verification string from the Admin console setup screen, add it as a TXT record at @, then click Verify in the console.
  2. MX: delete every MX record that points at your previous mail host, then add smtp.google.com with priority 1. Check with dig MX yourdomain.com.
  3. SPF: edit your existing v=spf1 record if there is one instead of creating a second. Add include:_spf.google.com to it.
  4. DKIM: in Apps > Google Workspace > Gmail > Authenticate email, generate the key, add it as a TXT record at google._domainkey, wait until dig TXT google._domainkey.yourdomain.com returns it, then click Start authentication.
  5. DMARC: add a TXT record at _dmarc with v=DMARC1; p=none and a rua address. Confirm with dig TXT _dmarc.yourdomain.com.
  6. Test: send a message to a Gmail address, open Show original and check that SPF, DKIM and DMARC each say PASS.

One thing that trips people up at many DNS hosts: the host field. Some panels want @ for the root and google._domainkey for the key; others append the domain automatically, so typing google._domainkey.yourdomain.com produces google._domainkey.yourdomain.com.yourdomain.com. If dig can't find a record you just added, check the host field first. Where MX records sit in mail routing is covered in what MX records are and how mail routing works.

What are the Google Workspace DNS records for email sending?

The records for sending email are SPF, DKIM and DMARC. MX only covers receiving. SPF lists the servers allowed to send for your domain. DKIM adds a cryptographic signature that receivers check against a public key published in DNS. DMARC tells receivers what to do when a message's From domain doesn't line up with a passing SPF or DKIM result. Set them up in this order:

  1. SPF: publish exactly one TXT record at the root that starts with v=spf1 and includes _spf.google.com. If you publish two SPF records, the result is a permerror and SPF fails.
  2. DKIM: in the Admin console, go to Apps > Google Workspace > Gmail > Authenticate email, generate a key and publish it as a TXT record at google._domainkey.
  3. DKIM activation: once the record resolves, go back to the same screen and click Start authentication. Until you do, Gmail won't sign with your key.
  4. DMARC: publish v=DMARC1; p=none with a rua address so you get aggregate reports before you tighten the policy.
  5. Stay under SPF's DNS lookup limit. Every include counts, and so do any nested includes inside it.

A long DKIM key can exceed the length limit for a single TXT string. Some DNS hosts split it for you and some don't. G Suite DKIM for Google Workspace and Brevo covers the splitting in detail. When the reports start arriving, the next step is moving the policy beyond p=none, which the Google Workspace DMARC record and rollout guide walks through.

What are the Google Workspace DNS MX records?

Newer Google Workspace domains use a single MX record that points to smtp.google.com. Older domains often still have the legacy multi-record set, with ASPMX.L.GOOGLE.COM as the primary host and several ALT hosts as backups, and Google still supports it. You can keep either set, but don't mix them, and don't leave records pointing at your old host. When several MX records are present, sending servers try the one with the lowest priority value first. A leftover MX pointing at a previous provider therefore splits your inbound mail between two systems.

Setup MX host Priority
Current (single record) smtp.google.com 1
Legacy ASPMX.L.GOOGLE.COM 1
Legacy ALT1.ASPMX.L.GOOGLE.COM 5
Legacy ALT2.ASPMX.L.GOOGLE.COM 5
Legacy ALT3.ASPMX.L.GOOGLE.COM 10
Legacy ALT4.ASPMX.L.GOOGLE.COM 10
Google Workspace MX values. Use either the single record or the full legacy set, never both.

MX doesn't affect outbound authentication, but it does matter for cold outreach. Replies to your messages go to the address in From or Reply-To, and if MX is wrong, those replies bounce or end up somewhere you never check. Run dig MX yourdomain.com and confirm that only Google hosts come back.

Illustration for the question “What are the Google Workspace DNS MX records?”
AI-generated image

What does a complete Google Workspace DNS zone look like?

Here's a worked example for a domain called example.com that uses Google Workspace for its mailboxes and also sends through Brevo. The Google values are the standard ones; the verification string, the DKIM key and Brevo's records are placeholders, because each account gets its own values.

Host Type Value Belongs to
@ TXT google-site-verification=abc123… Google, domain ownership
@ MX 1 smtp.google.com Google, inbound mail and replies
@ TXT v=spf1 include:_spf.google.com ~all (plus any include Brevo shows for your domain, in the same record) SPF for all senders
google._domainkey TXT v=DKIM1; k=rsa; p=MIIB… Google DKIM
Brevo's selector, as shown in Brevo As shown in Brevo As shown in Brevo Brevo DKIM
_dmarc TXT v=DMARC1; p=none; rua=mailto:dmarc@example.com DMARC policy for the whole domain
Example zone for example.com. Copy tenant-specific values from the Google Admin console and from Brevo's domain authentication settings.

Notice what's missing: there's no second SPF record and no second DMARC record. A domain has one of each, no matter how many services send for it. DKIM is the only record that multiplies, since each sender publishes its key under its own selector.

Do Google Workspace DNS records cover mail sent through Brevo?

No. Google's google._domainkey key only signs mail that leaves Google's servers. EmailFlow OS works like this: you record one video and upload it, connect your own Brevo account and sending domain, and import your prospect list into EmailFlow OS. EmailFlow OS then makes a personalised version of that recording for each recipient and sends it through your Brevo account, from your domain. Brevo is the sending server, not Google. So the domain needs Brevo's DKIM records, exactly as Brevo shows them in its domain authentication settings, alongside Google's. The two coexist because each uses a different selector.

SPF is where people slip up. Combine everything into one record, not one per provider. Each include uses up part of SPF's lookup limit. DMARC alignment passes when either SPF or DKIM aligns with the From domain, so a Brevo DKIM key published on your own domain is what lets the Brevo-sent mail align. Because the domain and the Brevo account are yours, the records stay in your DNS and under your control. DKIM DMARC and SPF for cold email senders explains how alignment works.

Illustration for the question “Do Google Workspace DNS records cover mail sent through Brevo?”
AI-generated image

Why do Google Workspace DNS records fail even when they look right?

Most failures come down to a handful of causes you can find with dig, or with Show Original in Gmail, which prints the SPF, DKIM and DMARC results for a received message:

  • Two SPF records at the root: SPF returns permerror, and receivers treat it as a fail.
  • Too many DNS lookups in SPF: the same permerror, often caused by stacking one include per tool.
  • A DKIM key that was published but never activated: the record exists, but Gmail isn't signing until you click Start authentication.
  • A truncated DKIM key: the DNS host cut the value off, so the public key no longer matches the signature.
  • A DMARC record at the wrong host: it has to sit at _dmarc. A DMARC record at the root is ignored.
  • A stale TTL: you changed a record, but resolvers still serve the old value until the TTL expires.

Correct records are a prerequisite. They don't decide where your mail lands, because the receiving server does that. A brand-new domain still needs a gradual volume ramp. Email warm up daily volumes and DNS setup lays out that schedule.

Questions people ask

What DNS records does Google email need?
Google email on your own domain needs five records: a google-site-verification TXT at @, an MX at @ pointing to smtp.google.com, one SPF TXT with include:_spf.google.com, a DKIM TXT at google._domainkey and a DMARC TXT at _dmarc. A personal @gmail.com address needs none, because Google manages the gmail.com domain itself.
What is the MX record for Google Workspace?
Newer domains use a single MX record pointing to smtp.google.com. Older domains may use the legacy set, with ASPMX.L.GOOGLE.COM as the primary host and several ALT hosts as backups. Google supports both, but use only one set, and remove any MX records that point to your previous provider. Otherwise inbound mail and replies get split between two systems.
What is the SPF record for Google Workspace?
It's v=spf1 include:_spf.google.com ~all, published as one TXT record at the root of the domain. If you also send through Brevo or another service, add its include to the same record rather than creating a second one. A domain may have only one SPF record, and SPF caps the number of DNS lookups that a record can trigger.
How long do Google Workspace DNS records take to work?
That depends on the record's TTL. Resolvers serve the cached value until it expires, so a change shows up in stages. DKIM needs an extra step: once the google._domainkey record resolves, you have to click Start authentication in the Admin console before Gmail signs your mail. Publishing the record on its own doesn't turn signing on.
Do I need DMARC for Google Workspace?
Yes, if you send in bulk. Gmail's bulk sender rules require a DMARC record of at least p=none, and a policy of p=none still gets you aggregate reports without blocking anything. Publish it as a TXT record at _dmarc.yourdomain.com with a rua address so you can see which servers send as your domain.

Share

LinkedIn X

Keep reading

All articles