Build an SPF record

One entry per line or separated by commas. Use include domains such as _spf.google.com and CIDR ranges such as 192.0.2.0/24. A redirect replaces the all qualifier, because RFC 7208 does not allow both.

What you get

  • A single v=spf1 record with your mechanisms.
  • Correct include, ip4 and ip6 syntax.
  • A copy button for your DNS provider.
  • Links to the SPF checker and DMARC tools.

Frequently asked questions

What does the all qualifier do?

-all fails unauthorised senders, ~all softfails them, ?all is neutral and +all allows everything. Use -all once every legitimate sender is listed.

Do includes count toward the 10-lookup limit?

Yes. Each include, a, mx, ptr, exists and redirect counts. Nested includes count too. Check the result with the SPF checker.

Can I have more than one SPF record?

No. RFC 7208 allows one v=spf1 record per domain. Merge the mechanisms into a single TXT record.