Zum Hauptinhalt springen

Tool

SPF Checker

Enter your domain above. The tool reads the SPF record, follows every include and redirect, and counts the DNS lookups on the way. The domain you enter is not stored.

What the SPF checker looks at

SPF defines which servers may send mail for your domain. The standard is RFC 7208. The checker evaluates these points:

  • Whether exactly one record starting with v=spf1 exists. Two records make SPF invalid.
  • How many DNS lookups the evaluation triggers. The limit is ten, and beyond it receivers report a permanent error.
  • Whether lookups run into nothing, for example an include that points to a domain without an SPF record.
  • Whether references call each other in a circle.
  • Whether the record ends in +all, which allows every server to send.
  • Whether a closing -all or ~all is missing, and whether the outdated mechanism ptr appears.

To protect the service from abuse, the evaluation stops after 25 lookups. A record that gets this far has already broken the limit of ten.

How to read the result

Green means the record is valid and stays within the limit. Yellow points to weaknesses such as a missing all. Red marks errors that make receivers reject SPF, such as too many lookups or a record with +all.

The lookup count is part of the result. If it sits close to the limit, remove services you no longer use.

When the limit is exceeded

Every include, a, mx, exists and redirect counts as a lookup, and nested records count too. Typical fixes are to drop unused services and to send through a dedicated subdomain. The subdomain gets its own SPF record with its own budget.

After that, look at the DMARC checker and the DKIM checker.

Frequently asked questions

What happens if my SPF record has too many lookups?

Receivers report a permanent error and SPF counts as failed. Combined with DMARC, your mail may land in spam or be rejected.

Should I use ~all or -all?

With -all receivers reject foreign servers outright, with ~all they only mark them. If you use DMARC, ~all usually works well because DMARC makes the final call. What matters is that a closing mechanism exists.

Why does the checker flag an include?

The include points to a domain without an SPF record. Often the service name is misspelled or the provider changed its record.

Does the tool store my domain?

No. The lookup runs once, the result is shown and then discarded. Lookups per address are limited per minute.