Tested tool guide
Tested browser tools
Checked August 16, 2026
What SPF Record Checker & Builder does, with a checked example
SPF (Sender Policy Framework) tells receiving mail servers which hosts may send mail for your domain, published as a v=spf1 TXT record in DNS. This tool works both ways: enter a domain and it pulls the live record, breaks it into mechanisms, and shows what each authorizes; or build a new record from ip4, ip6, include, and redirect choices and copy out the finished TXT string. The usual surprise: SPF checks the MAIL FROM envelope address, not the From: header you see in the message, and every include, a, mx, or redirect term spends one of a hard 10-DNS-lookup budget.
Worked example
A concrete input and expected output from the current implementation.
Input
ip4:198.51.100.7, include:_spf.example.net, ending qualifier ~all
->
Expected output
v=spf1 ip4:198.51.100.7 include:_spf.example.net ~all
ip4:198.51.100.7 - matches only mail from that address (0 lookups)
include:_spf.example.net - defers to that domain's record (1 lookup)
~all - softfail for every other sender (0 lookups)
Total: 1 of 10 DNS lookups, syntax valid.
A bare ip4 address counts as a /32, so only mail from 198.51.100.7 matches; the include costs the record's one DNS lookup; ~all softfails everything else. The record reads in first-match order - the specific address first, the delegated provider second, the catch-all last.