Skip to main content
RFC 7208 COMPLIANT · LIVE 10-LOOKUP COUNTER · 100% FREE

Free SPF Record Generator & Lookup Calculator

Build a syntax-verified v=spf1 DNS TXT record for Google Workspace, Microsoft 365, Amazon SES, SendGrid, Mailgun and custom IPs while tracking your RFC 7208 10-DNS-lookup budget in real time.

1. Select Email Providers (`include:`)

2. Server Mechanisms & Policy

Generated DNS TXT Record (Host: @)
DNS Lookups: 4 / 10 (Safe)
v=spf1 mx include:_spf.google.com ~all
🔍 Inspect Existing Domain SPF Record in Live DNS:
Advertisement

Complete Your Email Authentication Stack

SPF alone does not prevent Display-Name spoofing or satisfy Gmail/Yahoo 2026 bulk sender rules. Pair your SPF record with DMARC and verify your email list before sending:

🏛️ Free DMARC Generator → 🛡️ Run 360° Deliverability Audit ✅ Free Email Verifier

SPF Record Generator: Google Workspace SPF Record, Microsoft 365 & The 10-DNS-Lookup Limit

Sender Policy Framework (RFC 7208) publishes an authoritative list of IPv4/IPv6 addresses and cloud mail providers authorized to send email on behalf of your domain in the Return-Path (Envelope From) address. However, two fatal mistakes break SPF across nearly 30% of B2B domains: publishing multiple v=spf1 TXT records on the same host (which triggers an immediate SPF PermError), or stacking too many include: mechanisms and exceeding the RFC 7208 hard ceiling of 10 recursive DNS lookups.

Our interactive SPF Generator automatically merges your providers into a single compliant v=spf1 string and calculates the exact recursive DNS lookup cost before you publish to DNS. For example, adding the official Google Workspace SPF record (include:_spf.google.com) consumes 4 nested DNS lookups (_netblocks.google.com, _netblocks2.google.com, _netblocks3.google.com), Microsoft 365 (include:spf.protection.outlook.com) consumes 2 lookups, and SendGrid (include:sendgrid.net) consumes 1 lookup. Always use ip4: and ip6: mechanisms (which cost 0 DNS lookups) for your dedicated servers and end with ~all (SoftFail) or -all (HardFail).

Cloud Email Provider Official SPF Include Mechanism Recursive DNS Lookup Cost (Max 10 Total)
Google Workspace SPF Record (Gmail) include:_spf.google.com 4 DNS Lookups (includes _netblocks1–3.google.com)
Microsoft 365 / Exchange Online include:spf.protection.outlook.com 2 DNS Lookups
Amazon SES / SendGrid / Postmark include:amazonses.com / include:sendgrid.net / include:spf.mtasv.net 1 DNS Lookup each
Dedicated IPv4 / IPv6 Mail Servers ip4:198.51.100.0/24 ip6:2001:db8::/32 0 DNS Lookups (Best practice to stay under the 10-lookup ceiling)
en
en: Google, Yahoo and Microsoft 365 bulk sender compliance matrix: how keeping hard bounces below 0.5% prevents 421 4.7.28 throttling and 550 5.7.1 domain blocks. ↗ Full-Res PNG (1200×675)
Related Tools · Spf Generator Documentation: Free Email Extractor Online · B2B Cold Outreach Kit · Automated Validation Workflows · GDPR Art. 5 & DPA Compliance · Consent Mode v2 Cookie Policy · 7-Layer SMTP Documentation · Live Global SMTP Network Status