SPF Record Checker

Validate your Sender Policy Framework (SPF) record to ensure email deliverability and prevent spoofing.

Secure Your Domain Identity

SPF is just the first layer. ObserveOne provides full observability into your website's uptime and API health.

Monitor Uptime Free
No credit card required

Side-by-side breakdowns, no fluff.

What is SPF?

SPF (Sender Policy Framework) is an email authentication method that specifies which mail servers are authorized to send email on behalf of your domain.

Prevent Spoofing

SPF stops attackers from sending fake emails that appear to come from your organization.

Improve Deliverability

Google and Yahoo now require SPF/DKIM/DMARC for all bulk senders to reach the inbox.

How SPF Works

SPF is published as a single DNS TXT record listing which servers may send mail for your domain. When a receiving server gets a message, it reads that record and checks whether the sending IP is authorized. A pass supports your DMARC alignment; a fail tells the receiver the message may be spoofed.

Common SPF Misconfigurations

Too Many DNS Lookups

SPF allows a maximum of 10 DNS lookups. Exceeding that limit produces a PermError, and receivers ignore the record entirely.

More Than One Record

Publishing two or more SPF records on the same domain is invalid, and mail providers may fail the check outright. Merge every sender into one record.

Ending in +all

Ending a record in +all authorizes anyone to send as your domain. Use ~all (softfail) or -all (hardfail) instead.

Missing an include

Forgetting an include: for a provider you actually send through, such as a marketing platform, silently drops that mail. Avoid the deprecated ptr mechanism too.

Frequently Asked Questions

What is the difference between ~all and -all?

~all is a softfail: receivers accept the mail but flag it as suspicious. -all is a hardfail: receivers reject or bin mail from servers not listed. -all is stricter, while ~all is the common starting point until you confirm every legitimate sender is covered.

Why does mail still fail with a valid SPF record?

A record can parse cleanly yet still fail in practice. The two usual causes are exceeding the 10 DNS-lookup limit, which triggers a PermError so the record is ignored, and a missing include for a provider you actually send through.

How many DNS lookups does SPF allow?

Ten. Each include, a, mx, ptr, and exists mechanism counts toward the limit; going over produces a PermError and receivers treat the record as unusable.

Can a domain have two SPF records?

No. A domain must publish exactly one SPF TXT record. Two or more make the result invalid, and many providers will fail the check outright. Merge every sender into a single record.