Mail / DNS

SPF Record Assistant

Create a simple SPF record for your domain. Choose allowed mail servers, IP addresses, include mechanisms and the final policy. The assistant generates a TXT value and shows typical warnings.

Create SPF record

SPF is a DNS TXT record. It describes which servers are allowed to send email for a domain.

Output

The TXT value can be added at your DNS provider as the domain SPF record.

SPF value

DNS record

Quick help

SPF should match the actual mail infrastructure. Very broad rules do not improve delivery; they weaken the record meaning.

Common mechanisms

mx allows the mail servers from the MX records. a allows the domain A/AAAA address. ip4 and ip6 allow specific addresses or networks. include references another provider policy.

Policy

-all is strict, ~all is a common starting point, ?all is neutral and +all allows everything. +all is usually unsuitable for production domains.

Important

A domain should normally have only one SPF TXT record. Multiple SPF records for the same name often cause validation problems.