Alomo

SPF record checker and generator

Last verified 2026-12-05

Example

Input: google.com
Result: v=spf1 include:_spf.google.com ~all · 1 of 10 DNS lookups used · valid

Live data: running it now may give different results.

Enter a domain to check its SPF record. We follow every include, count DNS lookups (the limit is 10) and list what it authorises.



To build a record, call the tool without a domain and pass includes (from your email providers' setup pages), IP ranges and a policy; see the example below.

For AI assistants and developers

Available as the MCP tool spf_check at /mcp, and over REST:

POST /api/tools/spf_check
{"includes":["_spf.google.com"],"ip4":["192.0.2.10"],"policy":"-all"}

Related tools

Questions

What is the 10-lookup limit?

SPF allows at most 10 DNS lookups (include, a, mx, redirect and so on). Going over makes SPF fail, so the checker counts them across nested includes.

Should I use ~all or -all?

~all (soft fail) is the usual start. Move to -all once DMARC reports show that all your legitimate mail passes.

Can a domain have two SPF records?

No. Two v=spf1 records make SPF fail. Merge them into one record.

Sources