Skip to content
mailer.tools

SPF record checker

Enter a domain to fetch its SPF record, follow every include, and see whether it stays under the 10-lookup limit that silently breaks SPF for many senders.

DNS questions go from your browser straight to Cloudflare or Google public DNS. Our servers never see the domain.

Loading the tool

How to use the SPF checker

  1. 1Enter the domain that appears after the @ in your From address.
  2. 2Read the verdict and the list of findings, most serious first.
  3. 3Open the include tree to see which provider uses how many lookups.
  4. 4Fix the record with the SPF generator, publish it, and check again.

The 10-lookup limit

Receivers stop evaluating an SPF record after 10 DNS lookups and return a permanent error. Each include, a, mx, exists and redirect costs one, and includes are counted recursively: a single include for a large provider can cost three or four on its own.

The limit is the most common reason a correct-looking record fails. The tree view shows the cost of each branch, so you can see which service to remove or replace with its IP ranges.

Which ending to use: ~all or -all

~all (soft fail) marks unlisted servers as suspicious; -all (hard fail) tells receivers to refuse them. With a DMARC policy in place, receivers act on the DMARC result, and both endings behave much the same. ~all is the safer default because it does not cause rejections when a forwarder relays your mail.

+all passes every server on the internet and ?all expresses no opinion. Both leave the domain unprotected.

Questions about the SPF checker

What is an SPF record?

A DNS TXT record on your domain that lists the servers allowed to send mail using your domain as the envelope sender. Receivers compare the connecting server against that list.

What does "too many DNS lookups" mean?

Evaluating the record needs more than 10 DNS queries. Receivers give up and report a permanent error, so SPF fails for all of your mail. Remove services you no longer use, or replace an include with its IP ranges.

Can I have two SPF records?

No. A domain must publish exactly one record that starts with v=spf1. With two, receivers return a permanent error. Merge them into one.

Is the domain I check sent to your server?

No. Your browser asks Cloudflare's public DNS directly, and Google's if Cloudflare is unreachable.