SPF Record Generator

Build a valid SPF TXT record from your sending sources. Just fill in the form and copy the result to your DNS.

Configure Your SPF Record

-all (Hard Fail)

Recommended for most setups. Servers not listed in your SPF record are marked as failing authentication.

~all (Soft Fail)

Messages from unlisted servers are accepted but marked. Good for testing a new SPF record before going strict.

Lookup Limit

SPF records have a 10 DNS lookup limit. Exceeding it causes failures. Use this tool to stay within bounds.