Free tools / Check a domain

SPF checker: test a domain’s SPF record and its lookup count

Check a domain’s SPF record: every include followed to the end, DNS lookups counted against the limit of 10, and plain advice on what would make it fail.

What SPF checks

SPF (Sender Policy Framework, RFC 7208) lists the servers allowed to send email with your domain in the envelope sender (the Return-Path). Receiving servers look up the TXT record that starts with v=spf1 and check the sending server's address against it.

Common problems

  • More than 10 DNS lookups: include, a, mx, ptr, exists and redirect each cost a lookup, including the ones inside included records. Past 10, SPF returns a permanent error and counts as a fail for DMARC.
  • Two SPF records: a domain may have only one. Merge them into one record.
  • +all: allows every server on the internet to send as you. Use ~all or -all.
  • ptr: slow and discouraged by the standard. Replace it with ip4, ip6 or an include.

SPF alone does not protect the address people see in the From line. Pair it with DKIM and a DMARC policy.