SPF Record Builder
Klaviyo, SendGrid, Google Workspace, and two other ESPs? That's potentially 8 DNS lookups — 2 away from breaking your SPF. Select every service that sends email from your domain and get the exact TXT record to publish — with a lookup count warning before you hit the limit.
Select every service that sends email on behalf of your domain.
Add any additional include mechanism not listed above.
What to do with emails from senders not in your SPF record.
DNS Record Name
yourdomain.com Record Value
0/10 DNS lookupsv=spf1 -all How to publish this record
- Log in to your DNS provider
- Create a new TXT record
- Set the Name/Host to
@(your root domain) - Paste the record value above into the Value/Content field
- Delete any existing SPF records — you can only have one SPF TXT record
- Save and wait up to 48 hours for propagation
Why SPF Records Break — and How to Build One That Doesn't
Too many DNS lookups (>10)
SPF is limited to 10 DNS lookups. Each include: counts as one. Exceeding this causes a PermError, which means the entire SPF record is invalid — worse than having no SPF at all.
Multiple SPF records
You can only have ONE SPF TXT record on your root domain. Multiple records cause a PermError. If you need to combine, merge them into a single record.
Using ~all instead of -all
~all (SoftFail) marks unauthorized emails but doesn't reject them. This is fine for testing but leaves the door open for spoofing. Move to -all once you've verified all legitimate senders.
Forgetting third-party senders
Every service that sends email on your behalf (CRM, helpdesk, marketing automation) needs to be included. Missing one means those emails may fail SPF checks.
Related Free Tools
Why We Built This Tool
Manual DNS record construction is error-prone — one typo in a qualifier or include: mechanism breaks the entire record. This generator builds the exact syntax for every major ESP so teams can add new services without risking syntax errors or exceeding the 10-lookup limit.
What Goes Wrong Without This
SPF records fail silently for two reasons: either the syntax is wrong, or the lookup count exceeds 10. A PermError fails the same as no SPF — unauthorized senders pass through and legitimate senders get filtered. Teams often don't catch this until emails start bouncing from major ISPs.
Who This Tool Is For
E-commerce & DTC Brands
Teams using multiple ESPs (Klaviyo, SendGrid, Google Workspace, HubSpot) who need exact DNS syntax to avoid the 10-lookup limit.
Email Marketing Agencies
Agencies setting up or auditing client SPF records who need to generate correct syntax fast without manual DNS knowledge.
B2B SaaS & Outbound Teams
Teams integrating sales outreach tools that need to add new ESP mechanisms to existing SPF records without syntax errors.
Frequently Asked Questions
What is an SPF record?
Why does DNS lookup count matter?
Should I use -all or ~all?
Do I need an InboxEagle account to use this tool?
Your SPF Record Breaks Every Time You Add an ESP
InboxEagle detects changes to your SPF record within hours of publication and alerts you if a new mechanism pushes you over the 10-lookup limit. Teams using multiple ESPs rely on this to catch configuration drift before it causes delivery failures.
Start Free 14-Day TrialNo credit card required · Cancel anytime