4 / 10 Root Lookups · Pre-Seeded Stack Guide

Google Workspace + SendGrid SPF & DMARC Setup

Combine Google Workspace corporate email (3 lookups) with SendGrid transactional delivery (1 lookup) for a lean 4/10 RFC 7208 budget.

1. Domain, Providers & DMARC Policy

RFC 7208 + RFC 7489
Verified Email Providers (Click to Include in Root SPF)
RFC 7208 DNS Lookup Budget Guard
4 / 10 lookups
HEALTHY
Healthy budget: 4/10 root lookups consumed (6 remaining).
TXT @ example.com (SPF Record)
v=spf1 include:_spf.google.com include:sendgrid.net ~all
56 chars (RFC 7208 single TXT string limit: 255 chars; keep total DNS response under 512 bytes)
TXT @ _dmarc.example.com (DMARC Record)
v=DMARC1; p=quarantine; pct=100; adkim=r; aspf=r; rua=mailto:dmarc@example.com
Live DNS Verification ReadyCheck

Verify your live SPF, DMARC, DKIM & MTA-STS

After publishing DNS records, run an instant Cloudflare DoH audit on ReadyCheck or grab the $49 Fix Pack for custom DKIM, MTA-STS, BIMI & AEO deployment.

Stack Provider Breakdown & DKIM Selectors

Provider Root Include Lookups DKIM Selector
Google Workspace include:_spf.google.com 3 google._domainkey
SendGrid include:sendgrid.net 1 s1._domainkey & s2._domainkey
Google Workspace Alignment Note: Google signs DKIM with your custom domain when enabled; ensure Return-Path aligns or rely on DKIM alignment for DMARC.
SendGrid Alignment Note: Enable Domain Authentication in SendGrid so both Return-Path (SPF) and DKIM align with your root domain.

Production Rollout Checklist

  • Enable Domain Authentication in SendGrid (2 DKIM CNAMEs + 1 Return-Path CNAME) so DMARC passes on both SPF and DKIM.
  • Keep adkim=r and aspf=r initially while rolling out p=quarantine at pct=100, then tighten to p=reject after 14 days of clean rua reports.
  • If you use SendGrid automated security on a branded em123.<domain> link domain, SendGrid evaluates SPF on that subdomain, freeing 1 root lookup if needed later.
Next Step: Verify your published DNS records live with ReadyCheck (checks SPF, DMARC, DKIM selectors, MX, MTA-STS & BIMI via Cloudflare DoH).

Related Email Stack Guides

← Back to all 15 providers & 24 SPF/DMARC guides

Frequently Asked Questions

How many DNS lookups does Google Workspace + SendGrid consume?

This stack consumes 4 of the 10 permitted RFC 7208 root DNS lookups (6 remaining). All active includes are merged into a single v=spf1 TXT record.

What DMARC alignment settings work best for Google Workspace + SendGrid?

Start with relaxed alignment (adkim=r, aspf=r) and p=quarantine at pct=100 while verifying DKIM keys across Google Workspace and SendGrid.

Should I use ~all or -all on my SPF record?

Most modern mail security teams pair ~all or -all with DMARC p=quarantine/reject. Use ~all during rollout to avoid dropping legitimate forwarded mail, then tighten to -all once rua reports confirm 100% pass rates.