Free SPF Checker
Validate SPF Syntax & Fix Errors Instantly
Run a free SPF record check to validate its syntax, uncover issues that could harm your email deliverability, and get the exact fixes.
Enter your domain to perform a live DNS lookup and receive a plain-language explanation of every SPF mechanism.
About Free SPF Record Checker by DMARKOFF
Our free SPF checker runs a live SPF record lookup and validation on any domain. It parses every mechanism in your record, checks syntax and structure, confirms you're within DNS lookup limits, and explains what each part of your record does in plain language, then shows you the specific fix for anything that's broken.
A valid SPF record helps receiving servers authenticate your sending infrastructure. This checker finds configuration problems and explains how to fix them. It does not guarantee inbox placement or confirm that every sending service is covered. Use DMARC reports to verify your actual sending sources.
What is an SPF Record?
An SPF (Sender Policy Framework) record is a DNS TXT record that helps prevent spammers from sending email using your domain. It lists the mechanisms, IP addresses, and mail servers authorized to send on your behalf.
SPF is one of the core email authentication methods. By publishing a valid SPF record, you let receiving mail servers confirm that emails claiming to come from your domain actually originate from authorized servers.
Major providers, including Gmail, Outlook, and Yahoo, rely on SPF as part of their spam filtering. For full protection, SPF should be combined with DKIM and DMARC.
How Does SPF Authentication Work?
When you send an email, the recipient’s server runs an SPF check:
• Extracts the return-path (envelope-from) domain.
• Performs a DNS lookup for that domain’s SPF record.
• Compares the sending IP to the list of authorized servers and mechanisms.
• Returns an SPF result: pass if the IP matches; otherwise fail, softfail or neutral depending on the qualifier, or permerror/temperror if the record can't be evaluated. What happens to the message is the receiver's decision; under DMARC, quarantine or reject applies only when neither aligned SPF nor aligned DKIM passes.
A broken record (wrong syntax, multiple records, or exceeding the 10 DNS lookup limit) can stop your emails from being delivered. Regular testing with our free SPF validator helps keep your authentication accurate and reliable.
Example of a Valid SPF Record
A valid SPF record follows the correct syntax and includes specific mechanisms to define who can send email on behalf of your domain:
Example:
v=spf1 ip4:203.0.113.25 include:_spf.example.com -all
In this example:
v=spf1: Indicates the SPF protocol version.
ip4:203.0.113.25: Authorizes this specific IP address to send mail.
include:_spf.example.com: Allows a trusted third-party provider to send on behalf of your domain.
-all: Mail from IPs that aren't listed gets an SPF fail result. Receivers decide what to do with it, and under DMARC a message can still pass on an aligned DKIM signature.
Illustration only. Replace the IP with your actual sending IP, and use the include your email provider gives you.
What SPF Record Checker Detects
Our SPF Checker analyzes your domain’s DNS and spots potential issues clearly in a structured report:
✓ Domain and NS records check: Confirms your domain exists and has valid name servers.
✓ SPF record check: Confirms an SPF record exists for your domain. Causes and fixes for a missing SPF record
✓ Single record check: Confirms only one SPF record is published (two or more make SPF return permerror). How to fix multiple SPF records
✓ Mechanism resolution check: Verifies every mechanism (a, mx, include, and others) resolves successfully in DNS. How a broken include causes permerror
✓ Number of DNS lookups check: Counts the terms that need DNS lookups (include, a, mx, ptr, exists and redirect=), across nested includes, against the limit of 10. How to fix too many DNS lookups
✓ Number of void lookups check: Counts void lookups and confirms you’re within the allowed limit of 2. The void lookup limit explained
✓ Duplicate "include" mechanisms check: Flags duplicate include mechanisms pointing to the same domain. How to remove duplicates
✓ No "ptr" mechanism check: Flags a ptr mechanism if present (deprecated and unreliable for SPF).
✓ "all" mechanism check: Confirms no mechanisms appear after the all mechanism and flags +all. SPF softfail vs hardfail
✓ SPF record syntax check: Validates overall record syntax. SPF record syntax and common errors
✓ SPF record termination check: Confirms the record ends explicitly, with an all mechanism or a redirect= modifier. Choosing between ~all and -all
✓ SPF record size check: Checks that your domain name and its TXT records together stay under the 450 bytes RFC 7208 §3.4 recommends.
The report also shows your DNS lookup count (e.g., “3 / 10”), so you can see exactly how much headroom you have before adding another sender.
Every check includes a plain-language explanation of what it means and, where applicable, the specific fix to apply.
If a check reports permerror, our SPF PermError guide lists each cause and how to fix it. For what broken records do in practice, see what 21 mailbox providers did with broken SPF records.
Benefits of Regular SPF Checks
• Reduce spoofing risk when SPF works together with DKIM and DMARC
• Catch duplicate or broken records before they affect delivery
• Test changes to your record before you publish them
• Stay within the 10 DNS lookup limit as you add senders
• See which senders and includes your record authorizes
• Avoid SPF failures that can hurt inbox placement
• Give DMARC an aligned SPF pass alongside DKIM (DMARC passes on either one)
Why Choose Free SPF Record Checker
Free to use: no signup required for the SPF record check.
Session history: compare multiple SPF checks during your current session.
Specific fixes: get the exact correction to apply, not just a pass/fail.
Draft testing: paste a draft record into the SPF record field and check it before you publish. The report covers the text you pasted, not your live DNS.
FAQ
An SPF lookup checks a domain's DNS to confirm that a sender's IP address is authorized to send email on that domain's behalf. If the sending IP isn't listed, the email can be flagged as potentially fraudulent. SPF lookups are the basis for preventing spoofing and confirming that mail comes from a legitimate source.
When an email is sent, the recipient's server checks the sender's return-path domain and looks up its SPF record. If the sending IP matches an authorized mechanism in that record, SPF returns pass. If it doesn't, the result is fail, softfail or neutral, depending on the qualifier. What happens to the message is the receiver's decision; under DMARC, quarantine or reject applies only when neither aligned SPF nor aligned DKIM passes.
SPF lets receiving servers confirm that an email was sent from an authorized server. Without a valid SPF record, legitimate emails are more likely to be marked as spam or rejected outright, which directly hurts deliverability. Gmail and Outlook.com require SPF, DKIM and DMARC from domains sending more than 5,000 messages a day to their personal mailboxes. Yahoo has bulk sender rules but doesn't publish a volume threshold. A valid SPF record alone doesn't guarantee delivery.
No. If a domain publishes more than one TXT record starting with v=spf1, SPF returns permerror (RFC 7208 §4.5) and can't pass for any sender. Merge all senders into one record with include: mechanisms. DMARC can still pass on an aligned DKIM signature.
SPF allows a maximum of 10 DNS lookups per check. The include, a, mx, ptr and exists mechanisms and the redirect= modifier count toward it, including everything inside nested includes. Exceeding it returns permerror, even when the syntax is correct.
An incorrect SPF record, whether from a syntax error, a missing sender, or too many DNS lookups, can cause legitimate email to land in spam or get rejected, and it can leave your domain more exposed to spoofing. We tested what 21 mailbox providers actually do with broken SPF records, and the outcome depends on the provider and the error.
The Free SPF Checker by DMARKOFF identifies issues with your domain SPF record, such as a missing mechanism, invalid syntax, or exceeding the lookup limit, and shows the specific fix to apply. Common fixes include consolidating multiple records, reducing DNS lookups, correcting syntax, and authorizing all legitimate sending services. Update your DNS TXT record accordingly, then rerun the check to confirm it now passes.