Google Workspace (formerly G Suite) includes built-in support for SPF, DKIM, and DMARC. This guide walks through configuring all three for your Google Workspace domain.
SPF for Google Workspace
Create Your SPF Record
Add this TXT record to your domain's root (@):
v=spf1 include:_spf.google.com ~all
If you have other sending services, combine them:
v=spf1 include:_spf.google.com include:sendgrid.net ~all
Adding the DNS Record
- Go to your DNS provider's management console
- Add a new TXT record
- Host/Name: @ (or blank for root domain)
- Value: Your SPF record
- TTL: 3600 or default
DKIM for Google Workspace
Generate DKIM Key
- Go to Google Admin Console (admin.google.com)
- Navigate to Apps → Google Workspace → Gmail
- Click "Authenticate email"
- Select your domain
- Click "Generate new record"
- Select DKIM key bit length (2048 recommended)
- Prefix selector (default "google" is fine)
Add DKIM DNS Record
- Copy the provided DNS hostname and TXT record value
- In your DNS provider, add a new TXT record
- Host/Name: google._domainkey (or the prefix you chose)
- Value: The provided DKIM key (starts with v=DKIM1)
- Wait for DNS propagation (up to 48 hours)
Start DKIM Signing
- Return to Google Admin → Gmail → Authenticate email
- Click "Start authentication" for your domain
- Status should change to "Authenticating email"
DMARC for Google Workspace
Create DMARC Record
Add this TXT record at _dmarc.yourdomain.com:
Start with: v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com
Adding the DNS Record
- Add a new TXT record
- Host/Name: _dmarc
- Value: Your DMARC record
- TTL: 3600 or default
Verification
Test Your Setup
- Send an email from your Google Workspace account to a Gmail account
- Open the received email
- Click three dots → "Show original"
- Look for:
spf=passdkim=passdmarc=pass
Use Google's Postmaster Tools
Set up Google Postmaster Tools to monitor your domain's reputation and authentication status with Gmail.
Common Issues
DKIM Shows "Not Started"
- Verify DNS record is correct
- Wait for full DNS propagation
- Click "Start authentication" in Admin Console
Multiple Domains
Each domain in Google Workspace needs its own SPF, DKIM, and DMARC records. Repeat the process for each domain.
Subdomains
DKIM must be configured for each subdomain that sends email. SPF and DMARC can use subdomain policies.
For complete authentication guidance, see our Email Authentication Complete Guide.
0 comments