Skip to main content
← Back to Tools

SPF Record Lookup

Look up any domain's SPF record and count its DNS lookups against the RFC 7208 limit of 10. See which includes are costing you and spot the unused services blowing your budget.

Analyze Your SPF Record

What We Check

  • ✓DNS lookup count Against the RFC 7208 10-lookup limit
  • ✓Recursive expansion Every include, redirect, and nested lookup
  • ✓Void & broken lookups Mechanisms that resolve to nothing
  • ✓Flatten candidates Which services are costing you the most

Why It Matters

SPF has a hard limit of 10 DNS lookups. Cross it and receivers return permerror, which silently breaks SPF for legitimate mail. Most domains hit the limit because old vendors were never removed.

Read the SPF lookup limit guide →

Over the limit and not sure what to cut?

We help companies untangle SPF records, flatten where it makes sense, and audit which vendors still deserve to be there.

Schedule Free Consultation

SPF record lookup questions

How do I look up a domain’s SPF record?

Enter the domain above. The tool reads the TXT records at the root of the domain, finds the one that starts with v=spf1, and expands every include and redirect inside it. From a command line, dig TXT example.com or nslookup -type=txt example.com shows the same record, but not the nested includes.

What is the SPF 10 DNS lookup limit?

RFC 7208 allows at most 10 DNS lookups while a receiver evaluates your SPF record. The include, a, mx, ptr and exists mechanisms and the redirect modifier each count, including every lookup inside nested includes. The ip4, ip6 and all mechanisms do not. Go over 10 and receivers return permerror, which most treat as an SPF fail.

SPF lookup limit and flattening

What is a void lookup?

A void lookup is a DNS query that returns no records or a domain that doesn’t exist, usually an include for a service you stopped using. RFC 7208 recommends that receivers return permerror after more than two void lookups, so stale includes can break SPF even when you are under 10.

Can a domain have two SPF records?

No. A domain must publish exactly one TXT record that starts with v=spf1. With two, receivers return permerror and SPF fails for all of your mail. Merge the mechanisms into a single record.

How to merge multiple SPF records

Should I flatten my SPF record?

Only as a last resort. Flattening swaps includes for the IP addresses behind them, which saves lookups but breaks quietly when a vendor changes its IPs. Removing services you no longer use, or moving a sender to its own subdomain, is usually the safer fix.

If SPF passes, does DMARC pass too?

Not necessarily. SPF checks the Return-Path domain, and DMARC only counts that pass when the Return-Path domain aligns with the From address. Many platforms use their own Return-Path, so SPF passes while DMARC relies on DKIM.

Why DMARC fails and how to fix it