Skip to content
Free Tool

SPF Record Generator

Create a valid SPF record to authorize your email senders. No signup required. Just configure and copy.

Configure your SPF record

Your SPF Record

@
TXT
v=spf1 mx ~all
DNS Lookups1/10

SPF Best Practices

10 Lookup Limit

SPF is limited to 10 DNS lookups. Each "include" counts as at least one lookup. Use IP addresses when possible.

Start with Soft Fail

Use ~all (soft fail) initially. Move to -all (hard fail) after confirming all legitimate senders are included.

One SPF Record

Only one SPF record per domain is allowed. If you have an existing record, merge the mechanisms.

Combine with DMARC

SPF alone doesn't prevent spoofing. Use with DMARC to get reports and enforce authentication.

Monitor your SPF and DMARC together

DDMARC shows you which senders pass or fail SPF, DKIM, and DMARC. Identify misconfigured senders before they cause delivery issues.