Book a free consult →
← Back to Blog Email Security

How to Set Up SPF, DKIM, and DMARC for Google Workspace (2026 Guide)

By Steve · Google Workspace Consultant · 8 min read

If your business runs on Google Workspace and you haven't configured SPF, DKIM, and DMARC, your emails are vulnerable. Bad actors can spoof your domain, send phishing emails that look like they came from you, and damage your sender reputation — all without ever touching your account. This guide walks you through exactly how to fix that.

What Are SPF, DKIM, and DMARC?

Think of these three protocols as a three-layer lock on your business email. Each one does something different, but together they make it nearly impossible for anyone to impersonate your domain.

Real-world impact: Without DMARC, anyone can send emails from your domain to your clients. They won't know it's fake. This is one of the most common ways small businesses lose client trust overnight.

Step 1: Set Up SPF

Log in to your domain registrar (GoDaddy, Cloudflare, Namecheap, etc.) and add this TXT record:

// DNS TXT Record
Name: @
Value: v=spf1 include:_spf.google.com ~all
TTL: 3600

The ~all means "soft fail" — unauthorized senders get flagged but not outright rejected. Once verified, switch to -all for strict enforcement.

⚠️ You can only have one SPF record per domain. If you use Mailchimp, HubSpot, etc., combine them all into one record.

Step 2: Enable DKIM in Google Workspace

  1. 1. Log in to admin.google.com
  2. 2. Go to Apps → Google Workspace → Gmail → Authenticate email
  3. 3. Select your domain and click Generate new record
  4. 4. Copy the TXT record (it starts with "v=DKIM1")
  5. 5. Add that TXT record in your DNS provider
  6. 6. Wait 24–48 hours, then return and click Start authentication

Step 3: Add a DMARC Policy

Start with a monitor-only policy so you can observe before enforcing:

// DNS TXT Record
Name: _dmarc
Value: v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com
TTL: 3600

After 2–4 weeks of reviewing reports, escalate your policy:

p=none
Monitor
Collect data only
p=quarantine
Quarantine
Suspicious mail → spam
p=reject
Reject
Block unauthorized email

Common Mistakes to Avoid

Not Sure If Your Setup Is Correct?

A misconfigured record can silently break email deliverability for weeks. Book a free consult and I'll audit your full Google Workspace email security — at no charge.

Book a Free Consult →