SPF record checker

Use this SPF record checker to expand includes and inspect candidate IP ranges. Add your public sending IP to trace mechanism order, macros and the DNS lookup limits.

Free, no account. Ten lookups per hour, shared with our other domain checks.

We send the domain to our API, which reads its public DNS records. Answers are kept for five minutes.

Use your actual public outgoing mail IP to walk the record. This IP and the optional SMTP context are sent to our API and cached for five minutes.

An SPF record checker reads the DNS record that authorizes sending servers. This tool expands includes and redirects, resolves candidate IP ranges and flags risky all settings, duplicate records and syntax errors. An optional sending IP test traces reached mechanisms and counts DNS terms and void answers. A flattened preview requires a safe fixed equivalent.

How to use this checker

Enter your domain
Use the domain in your From or Return-Path address. We read its TXT records and keep the one that starts with v=spf1.
Follow the includes
Each include, a, mx, ptr, exists and redirect costs one DNS lookup, and so do the ones inside an include. We expand them in order and show the total.
Fix what is flagged
Remove services you no longer use, replace ptr and end the record with ~all or -all. Over 10 lookups, ask a provider for a narrower include or send its mail from a subdomain.

Questions about this checker

RFC 7208 ends the check with a permanent error once it needs more than 10 lookups. Many receivers then treat SPF as failed, which can send real mail to spam and weaken DMARC.

-all asks receivers to reject mail from servers that are not listed, and ~all asks them to accept it but treat it with suspicion. With a DMARC policy in place, DMARC decides what happens to failing mail, so many senders use ~all. Never use +all, which lets any server pass.

A lookup that finds nothing, such as an include of a domain without an SPF record. RFC 7208 says receivers should allow no more than two, so we flag a record that has more.

No. A domain must publish only one v=spf1 record. Two records give a permanent error, so merge them into one.

Check your business in AI answers

A valid SPF record keeps your mail out of spam. The free AI visibility scan shows how ChatGPT and other assistants describe your business.