Guides › Mailbox
Google Workspace SPF record & DKIM setup
The exact SPF include for Google Workspace, how many of your 10 DNS lookups it costs right now, and how to turn on DKIM so you pass DMARC.
SPF
If Google Workspace is your only sender, publish this TXT record at your root domain (@):
v=spf1 include:_spf.google.com ~all
Already have an SPF record? Don't add a second one. Add include:_spf.google.com before the ~all, or use the SPF merger.
Live lookup cost: 1 lookup
Current record at _spf.google.com:
v=spf1 ip4:74.125.0.0/16 ip4:192.178.47.0/24 ip4:192.179.92.0/22 ip4:209.85.128.0/17 ip6:2001:4860:4864::/56 ip6:2404:6800:4864::/56 ip6:2607:f8b0:4864::/56 ip6:2800:3f0:4864::/56 ip6:2a00:1450:4864::/56 ip6:2c0f:fb50:4864::/56 ~all
Measured live from DNS and refreshed daily. Google Workspace can change this at any time, which is exactly why monitoring matters.
DKIM
TXT record at google._domainkey (default selector "google"), generated in Admin console → Apps → Gmail → Authenticate email.
DMARC
SPF and DKIM only protect you once DMARC ties them to your visible From: address. If you don't have one yet, start with:
TXT record at _dmarc
v=DMARC1; p=none; rua=mailto:dmarc-reports@yourdomain.com;
Official documentation: Google Workspace docs
Using Google Workspace with another service?
- SPF for Google Workspace + SendGrid (Twilio)
- SPF for Google Workspace + Mailgun
- SPF for Google Workspace + Amazon SES
- SPF for Google Workspace + Mailjet
- SPF for Google Workspace + Mandrill (Mailchimp Transactional)
- SPF for Google Workspace + SparkPost
- SPF for Google Workspace + Brevo (Sendinblue)
- SPF for Google Workspace + Constant Contact
- SPF for Google Workspace + MailerLite
- SPF for Google Workspace + Salesforce
- SPF for Google Workspace + Zendesk
- SPF for Google Workspace + Freshdesk