Tools / SPF Generator
SPF Generator
How SPF Generator works
SPF lists the servers allowed to send mail for your domain. This generator builds the record and warns you about common mistakes.
Choose the providers you send from.
Copy the generated TXT record.
Publish it once at the root of your domain.
Troubleshooting & Remediation
How to Read & Fix Results
How to read the result
- ProblemMore than one SPF record, or an SPF record over the limit of 10 DNS lookups. Both cause SPF to fail.
- Warning~all (soft fail) left in place after you have confirmed all senders.
- PassOne SPF record, under 10 lookups, listing every service that sends as your domain, ending in -all or ~all.
How to fix issues
- 1List every service that sends mail as your domain (mail provider, newsletter tool, invoicing, CRM).
- 2Build one record with an include: for each, using the exact value each provider documents.
- 3Publish it as a single TXT record at the bare domain.
- 4Re-check. If you pass 10 lookups, remove unused includes or flatten.
Common mistakes to avoid
- •Creating a second SPF TXT record instead of editing the first.
- •Forgetting a sender, so its mail fails.
- •Ending with +all, which allows everyone.
Example SPF Record Format
example.com. TXT "v=spf1 include:_spf.google.com include:mailer.example.net ~all"
This generator builds the text in your browser. It does not query DNS, so run the DMARC or deliverability check after publishing.
Next checks:Flatten a long SPFGenerate DKIMCheck DMARC
Specifications & Scope
About SPF Generator
- 01 / What it does
- SPF lists the servers allowed to send mail for your domain. This generator builds the record and warns you about common mistakes.
- 02 / How to use
- 1. Choose the providers you send from. 2. Copy the generated TXT record. 3. Publish it once at the root of your domain.
- 03 / Good to know
- A domain may have only one SPF record. SPF allows 10 DNS lookups in total, so too many includes will fail.
Got Questions?
Frequently Asked Questions
Knowledge Base
Technical Guides & Reference
Explore More
More in Generators (New)
Tool Details & Usage Guide
RFC specifications, input expectations, outputs, and edge limitations.
Overview
Generates an SPF TXT record based on user-provided mail sources.
Inputs
- Target: Domain and authorized sources (IPs, third-parties)
Output Interpretation
- Results: Outputs the SPF record string.
Examples & Limitations
- Example Use Case: Authorizing Google Workspace or Microsoft 365 to send emails.
- Limitation: Does not automatically publish to DNS.
Recommended Troubleshooting Deep Dives
Authoritative SRE implementation tutorials related to this tool.
Reading Raw Email Headers in Outlook Web App: A Step‑by‑Step Guide
When a message lands in your inbox, most of its journey is hidden from view. The raw email header is the “passport” that records every hop, verification check, ...
Read guideDetecting Email Spoofing with DMARC Reports
Email spoofing is the digital equivalent of a forged signature—attackers send messages that appear to come from a trusted domain, hoping recipients will click a...
Read guideHow to Configure DKIM for Zendesk Email
Configuring DKIM (DomainKeys Identified Mail) for your Zendesk email ensures that messages sent from support agents land in inboxes, not spam folders. Below is ...
Read guideRelated tools
View all toolsDKIM Generator
Free browser-based DKIM generator and selector checker. Generate 2048-bit RSA key pairs, test live selector DNS records, and get publish-ready TXT values.
DMARC Generator
Free DMARC record generator. Choose a policy, set report addresses and copy a ready _dmarc TXT record.
DMARC XML Report
Free DMARC XML analyzer. Upload an aggregate report and see which IPs sent mail as your domain and whether SPF and DKIM passed.