Skip to content

SPF generator

Compose an SPF record that stays under the lookup limit.

On our server

What you enter is sent to our server to work out the answer. It is not cached or stored.

Who sends mail for this domain?

The number beside each sender is what it costs in DNS lookups. The limit is 10 across the whole record, including everything your senders include in turn.

What should receivers do with unauthorised mail?
About 0 of 10 lookups

What is an SPF record?

An SPF record is a single DNS TXT record at the root of a domain. It starts with v=spf1, lists every service allowed to send as you with include:, ip4: and ip6: terms, and ends with an all term that says what to do with everything else. A domain gets exactly one.

Reading the result

The output is the record to publish as TXT at the root (@), with an estimate of the DNS lookups it costs out of 10. ip4: and ip6: terms cost nothing. Each include costs at least one, plus whatever it references in turn, so for a custom include the estimate is a floor. Duplicate includes are removed for you.

Mistakes it warns about

  • Too many includes

    A mail provider plus a handful of sending tools can pass 10 lookups between them. Past the limit, receivers return permerror and SPF fails for all of your mail.

  • A second record instead of a merge

    Adding a new v=spf1 record for each tool creates two records, which is a permerror. Every sender goes into the one record.

  • Includes for tools you dropped

    Each one still costs lookups and keeps authorising another company's servers to send as you. Remove the include when you cancel the service.

  • Flattening includes into IP lists

    Replacing includes with the addresses they resolve to saves lookups until the provider changes its IPs. Mail from the new ones then fails SPF, and nothing warns you.

Beat · paid monitoring

A heartbeat for your email.

Beat runs every check on this site on a schedule: 41 checks, 50 blacklists and real inbox placement. The moment something breaks, it tells you what broke, why it matters, and the exact fix.

example.comWatching
  • SPFpass
  • DKIMpass
  • DMARCp=none
  • Blacklists0 / 50

Illustrative. Your domain, every few hours.

Also from us:Pulse: your own sending infrastructureConsulting: $65/hr, no retainer