SPF, DKIM and DMARC for Google Workspace
Google Workspace needs three things: an SPF include, a DKIM key you generate in the admin console, and a DMARC record.
SPF
| Type | Host / Name | Value |
|---|---|---|
| TXT | @ | v=spf1 include:_spf.google.com ~all |
If you already have an SPF record, add the include to it. Don’t create a second record.
DKIM
- Admin console → Apps → Google Workspace → Gmail → Authenticate email.
- Generate a new record (2048-bit if your DNS host allows it). The selector is usually
google. - Publish the TXT record at
google._domainkeywith the value shown. - Back in the console, click Start authentication. Until you do, Google doesn’t sign mail with your domain.
DMARC
| Type | Host / Name | Value |
|---|---|---|
| TXT | _dmarc | v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com |
See exactly what your domain’s SPF, DKIM and DMARC look like, free.
Check my domainFrequently asked questions
My DKIM key is too long for my DNS host. What now?
Some hosts limit TXT values to 255 characters per string. Most accept a long value and split it automatically; otherwise choose the 1024-bit option in the admin console.