SPF Record Checker

Validate SPF records, count DNS lookups, parse mechanisms, detect providers, and get a security score for any domain

Enter a domain to audit its SPF record

Validate syntax, parse every mechanism, count DNS lookups against the 10-lookup limit, detect providers, and get a security score — all in one check.

What is the SPF Record Checker?

The SPF Record Checker is a free tool that retrieves, validates, and audits the SPF (Sender Policy Framework) record of any public domain. It goes far beyond showing the raw TXT record — it parses every mechanism, recursively follows include: chains to count total DNS lookups against the RFC 7208 limit of 10, detects which email providers are authorized, evaluates the catch-all policy, and produces a security score.

SPF is one of three pillars of email authentication (alongside DKIM and DMARC). A misconfigured SPF record — too many lookups, a soft-fail policy, or a missing record — can cause legitimate mail to be rejected or allow spoofing. This tool catches those issues before they become delivery problems.

SPF Record Checker showing mechanism breakdown, lookup count, and security score

How to Use the SPF Record Checker

  1. 1
    Enter a Domain:

    Type or paste any domain such as contoso.com and click "Check SPF". URLs and email addresses work too — the domain is extracted automatically.

  2. 2
    Review the Security Score:

    A 0–100 score summarizes the overall SPF health at a glance — SPF found, valid syntax, lookup count, policy strictness, and provider recognition all factor in.

  3. 3
    Check DNS Lookup Count:

    SPF is limited to 10 DNS lookups per evaluation (RFC 7208). The tool recursively resolves every include:, a, mx, and redirect mechanism and shows the total, with the full include tree so you can see where lookups accumulate.

  4. 4
    Copy or Export Results:

    Copy the raw SPF record, or export the full mechanism breakdown as CSV or JSON for tickets, documentation, or change-management records.

Key Features

Mechanism Breakdown:Every mechanism (ip4, ip6, include, a, mx, ptr, exists, all, redirect) is parsed individually with its qualifier, a plain-English description, and a DNS-lookup flag.
Recursive Lookup Counter:Follows include/redirect chains multiple levels deep, counts every lookup-generating mechanism, and visualizes the tree so you can see exactly where lookups stack up.
Policy Detection:Identifies the catch-all policy (-all, ~all, +all, ?all) and clearly labels it as Strict, Soft Fail, Unsafe, or Neutral with a color-coded badge.
Provider Detection:Recognizes 25+ providers and services — Microsoft 365, Google Workspace, SendGrid, Mailchimp, Proofpoint, and more — from the include directives in the record.
Configuration Warnings:Flags common issues — multiple SPF records, exceeding the lookup limit, soft-fail policy, deprecated ptr mechanisms, and CIDR ranges that match everything.
Security Score:A 0–100 weighted score combining SPF presence, syntax validity, lookup count, policy strictness, and provider recognition — easy to share in audit reports.

Pro Tips

Flatten Includes

If your lookup count is too high, consider replacing nested include: directives with their resolved IP ranges using ip4: and ip6: mechanisms. This is called "SPF flattening" and doesn't consume DNS lookups.

Test Before Enforcing

Start with ~all (soft fail) while auditing, then switch to -all (hard fail) once you're confident all legitimate senders are included. A hard fail on day one can block mail from services you forgot to add.

Pair with DMARC

SPF alone doesn't stop spoofing — attackers can use a different envelope domain. Pair SPF with DMARC (p=reject) so receivers enforce alignment between the visible "From:" address and the SPF-authenticated domain.

Real-World Applications

M365 / Google Workspace Admin

Verify your tenant's SPF record includes the right providers, hasn't exceeded the lookup limit after adding marketing platforms, and uses a strict policy.

Security Auditing

Check vendor or acquisition-target domains for missing or weak SPF records as part of a phishing-risk assessment or compliance review.

Deliverability Debugging

When marketing emails bounce with "SPF PermError", use the lookup tree to find which include chain pushed you over the 10-lookup limit, then flatten or remove the offender.

Common SPF Include Directives

These are the SPF include directives used by the most popular email providers and marketing platforms. If you see one of these in a domain's SPF record, you know which service sent the mail.

Microsoft 365

include:spf.protection.outlook.com

Google Workspace

include:_spf.google.com

Zoho Mail

include:zoho.com

Amazon SES

include:amazonses.com

SendGrid

include:sendgrid.net

Mailchimp / Mandrill

include:mandrillapp.com

Mailgun

include:mailgun.org

Proofpoint

include:pphosted.com

Mimecast

include:mimecast.com

HubSpot

include:hubspot.net

Related Networking Tools

The SPF Record Checker is the most thorough free SPF audit tool available — it doesn't just show the raw record, it recursively resolves every include, counts lookups, flags misconfigurations, and scores the result. Whether you're an M365 admin adding a new marketing platform, a security analyst auditing a vendor, or a developer debugging bounce messages, enter a domain and get the full picture in seconds. No sign-up, no API key, no cost.

More Networking Tools

Comments