Before you start
Google does not manage your DNS zone: SPF, DKIM and DMARC are published at your domain host, usually the place where you bought it. The DNS zone pages are named differently from one host to another, but always look for the place where TXT records are added.
For the DKIM key, you need administrator access to the Google Admin console. If Gmail has just been turned on for the domain, Google says you must wait 24 to 72 hours before the key appears in the console.
SPF for Google Workspace
- Sign in at the DNS host of your domain and open the page where TXT records are updated.
- Add or update the TXT record with the value below.
If you send only with Google Workspace
- Type
- TXT
- Name
- your domain (no subdomain)
- Value
- v=spf1 include:_spf.google.com ~all
Each domain can have only one SPF record: if you also use another sending service, combine everything in a single line. Each subdomain that sends emails needs its own SPF.
DKIM for Google Workspace
- In the Google Admin console: Menu, Apps, Google Workspace, Gmail, then "Authenticate email". Choose your domain.
- Generate the key. Choose 2048 bits if your DNS host accepts them, otherwise 1024 bits. The default selector prefix is google; if the domain already uses a key with that prefix, enter another one.
- Copy the DNS host name (for example google._domainkey) and the TXT record value shown by the console, and publish them at your DNS host.
- Go back to the console and click "Start authentication". Only do this after you have published the record.
Values given by the console
- Type
- TXT
- Name
- google._domainkey
- Value
- the long value shown in the console, to be copied as is
Google says it can take up to 48 hours before DKIM authentication works. Some DNS hosts limit the length of a TXT record: this is the usual cause of a rejected 2048-bit key, in which case use 1024 bits.
DMARC for Google Workspace
There is nothing to do in the Admin console for DMARC: the record is published only at your DNS host. Google asks that SPF and/or DKIM be turned on first, and that you wait 48 hours after they are in place.
- At your DNS host, create a TXT record whose name is _dmarc.yourdomain.com (depending on the host, entering _dmarc is enough).
- Enter the value below. Google recommends always including the rua address, pointing to a dedicated mailbox or group.
Cautious starting point: observe without blocking anything
- Type
- TXT
- Name
- _dmarc
- Value
- v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com
Google recommends starting with p=none and then, over time, moving to quarantine or reject. Keep p=none for a few weeks, long enough to read the reports sent to the rua address and spot legitimate sending that still fails. Then move to p=quarantine, then to p=reject once nothing legitimate is flagged anymore.
Check that everything is in place
Once the records are published, give propagation time to do its work, then test your domain: the free diagnostic reads your SPF and your DMARC and looks for a DKIM signature, with no account.
Test my domain nowCommon mistakes
- Clicking to start DKIM authentication before the TXT record has been published.
- Trying to publish SPF or DMARC in the Google console: they are published at the DNS host.
- Ending up with two SPF records because a sending tool added its own line: combine them.
- An "update your DNS records" message that stays displayed in the console: Google says it can stay for up to 48 hours.
Frequently asked questions
Do I need to turn on DKIM in addition to SPF with Google Workspace?
Yes. For senders who send a lot, Google requires SPF and DKIM as well as DMARC. Even at low volume, a DKIM signature on your own domain is the basis of good deliverability.
Why does the DKIM key not appear in the console?
If Gmail has just been turned on for the domain, Google says you must wait 24 to 72 hours before the key is available.
Where do I publish the DMARC record?
At the DNS host of your domain, as a TXT record on _dmarc.yourdomain. Nothing needs to be configured in the Admin console.
Official sources
Interfaces and values taken from the official documentation on October 15, 2026. Providers sometimes change their menus: if there is a discrepancy, the official page prevails.
A refusal message to decode?
Once authentication is in place, the remaining refusals have other causes. Each guide explains how to tell them apart.
Another mail provider?
Prospect without damaging your domain
FluenzR sends from your own mailbox, warms up its sending history and monitors its reputation.
Fix it and send with FluenzR