Free tools

SPF record generator

Pick the services that send email as your domain, add your own mail servers if you have any, and copy one SPF record to publish. The generator runs in your browser: nothing you choose or type leaves it.

SPF record

Lists every service allowed to send email as the domain. Choose the services you use.

Services that send as the domain
Type
TXT
Name
@ (the domain itself)
Value
v=spf1 include:_spf.google.com ~all
  • A domain must have exactly one SPF record: replace the existing one rather than adding a second.

How to use it

  1. Tick every service that sends email using your domain: your mailbox provider, your newsletter tool, your CRM and any sending platform.
  2. Add the IP addresses or ranges of your own mail servers, if you run any.
  3. Choose what receivers should do with mail from anything else: ~all marks it as suspicious and is the safer start; -all rejects it.
  4. Copy the record and publish it as a TXT record at the domain itself (@), replacing any SPF record that is already there.

What it cannot tell you

  • A domain must have exactly one SPF record. The generator cannot see what is published today, so replace the existing record rather than adding a second.
  • SPF allows at most 10 DNS lookups, counting the lookups inside every service you include. The generator warns when five or more includes are chosen, but only a check of the published record can count them exactly.
  • SPF covers the envelope sender, not the From address people see. DMARC needs SPF or DKIM to align with the From domain.

Related

Keep every sending domain checked

A free account checks one domain from public DNS every day and tells you when a record breaks. Connections and prepared fixes are optional.