What You Need to Configure
Google Workspace handles email authentication for inbound messages automatically. For outbound mail from your domain, you are responsible for three things:
- SPF — a TXT record that lists Google's sending servers as authorized senders for your domain
- DKIM — a cryptographic signing key that Google applies to outgoing messages; must be generated in the Admin console and published in DNS
- DMARC — a policy record that ties SPF and DKIM to your visible From address and requests aggregate reports
All three are needed for full DMARC alignment. Without DKIM, DMARC relies solely on SPF alignment, which breaks for forwarded messages.
Step 1: Verify Your SPF Record
Your SPF record must include Google's sending infrastructure. The required include mechanism is:
include:_spf.google.com
A minimal SPF record for a domain that only uses Google Workspace for email:
v=spf1 include:_spf.google.com -all
If you also use other services that send email from your domain — marketing platforms, CRMs, transactional email — add their include: mechanisms to the same record. Keep in mind the 10-lookup limit. See our guide on fixing SPF records that are too long if you have many senders.
Use our free SPF checker to verify your current record and count your lookups.
v=spf1. Having two SPF records always causes SPF PermError, regardless of their content.
Step 2: Enable DKIM Signing in Google Workspace
Google Workspace can sign outgoing messages with your domain's DKIM key. This requires generating a key in the Admin console and publishing a TXT record in your DNS.
Generate the DKIM Key
- Go to admin.google.com and sign in as a Super Admin.
- Navigate to Apps → Google Workspace → Gmail → Authenticate email.
- Select your domain from the list.
- Click Generate new record.
- Choose 2048-bit key if your DNS provider supports long TXT records (recommended). Use 1024-bit only if your provider does not support 2048-bit.
- Google will display a TXT record to publish in your DNS.
Publish the DNS Record
Google provides a TXT record in the form:
google._domainkey.yourdomain.com TXT "v=DKIM1; k=rsa; p=MIIBIjANBgkq..."
Publish this TXT record exactly as shown. The key value will be much longer than displayed here. Allow 24–48 hours for DNS propagation.
Start DKIM Authentication
After publishing the DNS record, return to Apps → Google Workspace → Gmail → Authenticate email and click Start authentication. Google will verify the DNS record and begin signing outgoing messages.
Step 3: Publish a DMARC Record
Once SPF and DKIM are in place, publish a DMARC record. Create a TXT record at _dmarc.yourdomain.com:
v=DMARC1; p=none; rua=mailto:dmarc-reports@yourdomain.com
Replace the rua address with a mailbox you control or a monitoring service address. Start with p=none — this collects reports without taking action on failing messages.
DMARC Record Tags Explained
p=none- Monitor only — no action taken on failing messages. Use this while you review your reports.
rua=- Where to send daily aggregate report XML files. Can be your own mailbox or a monitoring service.
adkim=r- Relaxed DKIM alignment (the default). Allows subdomain DKIM signing to satisfy DMARC.
aspf=r- Relaxed SPF alignment (the default). Allows subdomain envelope senders to satisfy DMARC.
Use our free DMARC checker to verify the record was published correctly.
Step 4: Monitor Your Reports
Once your DMARC record includes an rua address, major mail providers (Google, Microsoft, Yahoo, Apple) will send daily aggregate XML reports to that address. Each report contains:
- The sending IP addresses and their organization names
- SPF and DKIM pass/fail results for each IP
- The DMARC policy disposition (what actually happened to each message)
- Message volume per source
DMARC aggregate reports are XML files — not human-readable without a parser. Your DMARC Exposed parses them automatically and displays the results as a clear dashboard. You can see exactly which senders are passing, which are failing, and what changes are needed before you can safely enforce.
What to Look For
In the first few days of monitoring, check for:
- Your own Google Workspace traffic — should show SPF pass and DKIM pass. If not, re-check your SPF record and confirm DKIM is active in the Admin console.
- Third-party senders — marketing platforms, CRMs, transactional email services sending on behalf of your domain. These need to be authenticated before you enforce.
- Unexpected senders — IPs you don't recognize sending messages claiming to come from your domain. These may be spam or phishing attempts.
Step 5: Move to Enforcement
When you are confident that all legitimate senders are passing DMARC authentication, tighten your policy:
- Change
p=nonetop=quarantine— failing messages go to spam. Monitor for a few weeks. - Change
p=quarantinetop=reject— failing messages are blocked entirely. This is full DMARC enforcement.
Do not rush this. Moving to enforcement before all legitimate senders pass authentication will cause legitimate email to be blocked or sent to spam.
Monitor Your Google Workspace DMARC Reports
Your DMARC Exposed parses your aggregate reports automatically — showing SPF and DKIM results for every sender, so you know exactly what needs to be fixed before you enforce.
Start Your Free Trial Check Your DMARC RecordFrequently Asked Questions
Does Google Workspace set up SPF automatically?
No. You must manually publish an SPF TXT record at your domain root. The record must include include:_spf.google.com. If you use other services that send email from your domain, add their include: mechanisms to the same record. Never publish two SPF records — merge everything into one.
How do I enable DKIM in Google Workspace?
Go to admin.google.com → Apps → Google Workspace → Gmail → Authenticate email. Select your domain and click Generate new record. Publish the TXT record Google provides. After DNS propagation (up to 48 hours), return and click Start authentication.
What DMARC record should I use for Google Workspace?
Start with v=DMARC1; p=none; rua=mailto:your-reporting-address. The rua can be a mailbox you control or a monitoring service. Use p=none until your reports confirm all legitimate senders are passing authentication, then move to p=quarantine and finally p=reject.
Why is my Google Workspace email failing DMARC?
The most common causes: DKIM was generated but Start authentication was never clicked, the DNS record was not published correctly, the SPF record does not include _spf.google.com, or a third-party service is sending email from your domain without authentication. Check your DMARC aggregate reports to identify which sending source is failing and why.