SPF Record Lookup

Check SPF records to spot misconfigurations that could let spammers send emails from your domain.

Our SPF Record Lookup analyzes your DNS, highlights common pitfalls, and helps you apply the correct configuration.

SPF Checker form

Enter the root domain only (no https://, no paths).
Please enter a valid domain, e.g. example.com.
You must agree before scanning.
Illustration: scanning a domain’s SPF record

Verify Your Email Security with an SPF Record Check

Use DMARCFlow’s SPF Checker to confirm that your outbound emails are properly authenticated. An SPF record helps prove that messages sent from your domain are legitimate and haven’t been forged.

Start by verifying that your domain has an SPF record. Then ensure it’s correctly configured. Even small mistakes - like syntax errors or too many includes - can break SPF. DMARCFlow gives you a clear view of your SPF structure and all authorized sending sources.

Want to see how it works? Watch our short video guide on using the SPF test tool.

SPF validation chart preview
DMARCFlow application on a laptop

What Is SPF?

SPF (Sender Policy Framework) lets you declare which servers may send mail for your domain. Receiving servers check your DNS SPF record; if the sender isn’t authorized, the message may be flagged or rejected.

Correct SPF helps prevent phishing and improves deliverability so legitimate mail reaches the inbox.

How to Implement, Manage,
and Validate Your SPF Record Effectively

A step-by-step guide to keep your domain protected and emails in the inbox.

Start with a Clear SPF Record

Include only trusted sending sources. Keep mechanisms minimal for clarity and speed.

Use 'include' Carefully

Only include services you actually use (e.g., Mailchimp, Google Workspace). Verify each provider’s SPF syntax.

Avoid Exceeding the 10 DNS Lookup Limit

SPF permits max 10 DNS lookups. Flatten/optimize to avoid permerror failures.

Test Your SPF Record Regularly

Validate SPF after any change to mail servers or providers to catch regressions early.

Monitor and Review Sending Sources

Audit who can send for your domain and update SPF to remove stale or risky sources.

How to Interpret Your SPF Check Results

Every result status has a specific meaning. Here is what each one tells you and what to do next.

Pass

The sending IP is authorized by your SPF record. The email passes SPF authentication. No action needed — but pair with DKIM and DMARC for complete coverage.

Fail

The sending IP is explicitly not authorized. Your SPF record ends in -all and this server is not listed. Receivers will likely reject or flag the message. Add the missing server or investigate why mail is coming from an unauthorized source.

SoftFail

The sender is not authorized but the policy is lenient (~all). Mail is typically accepted but may be marked as spam. Consider moving to -all once your SPF is stable and complete.

PermError

Permanent error — your SPF record has a syntax problem or exceeds the 10 DNS lookup limit. This is the most common cause of SPF failures in DMARC reports. Fix the record immediately; receivers cannot evaluate it at all.

TempError

Temporary DNS failure during lookup. Usually resolves on its own but can indicate DNS infrastructure issues. If it persists, check your DNS provider's status.

None / Neutral

None: No SPF record found at all. Your domain is unprotected. Publish an SPF record immediately. Neutral: The record exists but makes no assertion (?all). Effectively the same as having no policy.

Common SPF Record Errors and How to Fix Them

These are the mistakes that most frequently cause SPF failures in DMARC reports.

Exceeded the 10 DNS lookup limit

Every include:, a, mx, and exists mechanism counts as a DNS lookup. Exceeding 10 causes a PermError, which means your SPF record is invalid and receivers ignore it entirely.

Fix: Use SPF flattening to inline IP addresses directly, removing nested include chains. Remove services you no longer use.

Multiple SPF records on the same domain

Publishing two or more TXT records starting with v=spf1 on the same domain is an RFC violation and causes a PermError. Receivers will reject the entire SPF evaluation.

Fix: Merge all sending sources into a single SPF record. Delete the duplicate.

Missing mail providers in the SPF record

When you add a new email service (CRM, marketing platform, helpdesk) without updating your SPF, emails from that service fail. This is the most common reason for SPF failures appearing in DMARC aggregate reports.

Fix: Identify all services sending email on your behalf and add their include: statements or IP ranges to your SPF record.

SPF pass but DMARC still fails

SPF passing is not enough for DMARC. The SPF-authenticated domain must align with the From: header domain. Forwarded mail and mailing lists frequently break SPF alignment even when SPF itself passes.

Fix: Ensure DKIM is also configured and aligned. DKIM survives forwarding; SPF does not.

Frequently Asked Questions

Common questions about SPF records

SPF is an email authentication protocol that lets domain owners declare which mail servers are authorized to send on their behalf, reducing spoofing.

It helps prevent your domain from being abused in phishing and spam by verifying the sender against your published policy.

Add a DNS TXT record on your domain listing the IPs/hosts allowed to send for you (e.g., v=spf1 include:example.net -all).

Legit mail may be spam-foldered or rejected, and attackers could exploit gaps to spoof your domain.

SPF is essential but should be paired with DKIM and DMARC for defense-in-depth.