SPF Record Generator & Builder.
Generate syntax-perfect SPF records with 1-click email provider presets, IP authorization, and real-time DNS lookup counter validation.
1. Domain Server Mechanisms
2. Email Providers & ESPs
1 Lookup per Include3. Dedicated IP Addresses (Zero Lookup Cost)
0 Lookups Used4. Custom Includes
5. Security Enforcement Qualifier
What this SPF generator builds:
SPF (Sender Policy Framework) prevents domain spoofing by declaring which mail servers are authorized to send from your domain. Configure your sending setup and click "Build & Generate SPF Record" to inspect:
How to Publish an SPF TXT Record to Your DNS Provider
To activate SPF, log in to your DNS management console (Cloudflare, GoDaddy, Namecheap, Route 53) and add a new TXT record with the following values:
TXT
@ (or root domain)
Auto or 3600 (1 Hour)
Explore Other Free Diagnostics
Build syntax-valid DMARC TXT policies with DNS provider guides.
Simulate mobile inbox truncation and optimize cold email subjects.
Verify SVG Tiny-PS logos, VMC certificates, and DMARC alignment.
Detect throwaway domains and temporary MX mail infrastructure.
SPF Record Generator FAQs.
Everything you need to know about generating, formatting, and publishing SPF records under RFC 7208 standards.
Why should I use ~all (SoftFail) instead of -all (Fail)?
Both Google and Yahoo officially recommend ~all (SoftFail) for business domains. A strict -all (Fail) can lead to unintended message rejection when sending through automated services, calendar invites, or forwarding gateways.
What is the 10-lookup limit in SPF?
RFC 7208 strictly limits recursive DNS lookups to 10 queries (from include:, a, mx, redirect=, and ptr). If your record exceeds 10 lookups, major receivers will return a PermError and discard your email. Direct IP mechanisms (ip4: and ip6:) do not consume lookups.
Can I have multiple SPF TXT records on one domain?
No. Having more than one SPF TXT record triggers a catastrophic RFC 7208 PermError. You must merge all authorized sending services into a single v=spf1 ... record.
How long does it take for my new SPF record to take effect?
DNS propagation typically takes between 15 minutes to 2 hours, depending on your DNS host's TTL setting. Once published, you can test it live with our free SPF Record Validator.
Clean your entire email list with zero bounces.
Sortwell checks addresses the way a mail server would — live SMTP handshake, syntax, MX verification, and spamtrap detection.