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.
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.
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 ConsultationSPF 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 flatteningWhat 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 recordsShould 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 itSPF guides
- What Is an SPF Record? Syntax, Mechanisms, and -all vs ~allAn SPF record is a DNS TXT record listing the servers allowed to send mail for your domain. Here's how the syntax works and when to use -all or ~all.
- SPF 10 DNS Lookup Limit, Void Lookups and SPF FlatteningSPF allows 10 DNS lookups per check. Go over and receivers return permerror, so SPF fails. Here's what counts, how void lookups work, and how to fix it.
- SPF Fail, Softfail, Permerror and Temperror: What Each MeansSPF fail means the sending IP isn't authorized, softfail means probably not, permerror means your record is broken, and temperror means DNS hiccupped.
- Multiple SPF Records: Why Two Records Break SPF and How to Merge ThemA domain can have only one SPF record. Publish two and receivers return permerror, so SPF fails for all your mail. Here's how to merge them into one record.
- From, Return-Path and DKIM d= Domains: Alignment ExplainedDMARC alignment means the From domain matches the domain SPF or DKIM authenticated. Here's how the three domains relate, relaxed vs strict, and how to fix it.
- DMARC Fail: Why DMARC Fails and How to Fix ItDMARC fails when neither SPF nor DKIM passes for a domain aligned with your From address. Usually a sender lacks custom DKIM. Here's how to find and fix it.