Advertisement

SPF checker

SPF checker

Type a domain to validate its SPF record, follow every include and count DNS lookups against the limit of 10.

What SPF does

SPF lists the servers allowed to send mail for a domain, in one DNS TXT record starting “v=spf1”. Receiving servers check the sending server against it. Gmail and Yahoo require SPF or DKIM from everyone, and both from bulk senders.

The 10-lookup limit

Each include, a, mx, ptr, exists and redirect makes the receiver do another DNS lookup, and SPF allows only 10 in total, including nested includes. Go over and SPF fails for every message, as if you had no record. It’s the most common way SPF breaks as companies add email services.

FAQ

Should my SPF end in ~all or -all?

Either is fine. “-all” says “reject anything not listed”; “~all” says “treat it as suspicious”. With DMARC in place, most receivers treat them the same.

Can I have two SPF records?

No. Two records make SPF fail. Merge them into one.