Skip to content

Limitations

  • The generator cannot see inside the include domains you add, so the real lookup count can be higher. Publish the record and run the SPF Record Checker.
  • It only generates text. Nothing is published, and it does not know which servers actually send your mail.
  • Macros in exists: are accepted but not validated.

Privacy

Everything runs in your browser. What you paste or type is not uploaded, logged or stored on our servers.

About the SPF Record Generator

Build an SPF TXT record from your IP ranges, include domains, a, mx and redirect, with syntax checks, lookup counting and warnings about permissive settings.

How to use it

Examples

Questions

Why can a domain have only one SPF record?
Receivers that find two SPF records treat it as a permanent error, so SPF fails for every message. Merge all senders into one record.
What is the 10 lookup limit?
Evaluating include, a, mx, ptr, exists and redirect each costs a DNS lookup, and receivers stop at 10 in total, including lookups inside includes.

Free and runs in your browser. Sign in only if you want to save your work.