SPF record generator

Pick the services that send email for your domain and get a single, valid SPF record.
Services that send email for this domainAlways confirm the value in each service's own setup screen. Some, like Brevo or Mailchimp, don't need SPF on your domain at all with their default setup.
Mail from servers not listed
TypeTXTHost / nameyourdomain.comValue
v=spf1 ~all

Publish this as the only SPF record on yourdomain.com; if you already have one, replace it. This record makes 0 lookups directly, and each provider adds more of its own: run the SPF checker after publishing to confirm you're under 10.

List every sender, once

An SPF record has to cover everything that sends email using your domain: your mailboxes, your website's contact form, your newsletter tool, invoicing software and help desk. Anything you leave out will fail SPF.

Make a list before you start: look in your sent mail and in the settings of each tool you use. Then select them here, publish the record, and check it with the SPF checker.

Keep it short

Every include: costs lookups, and the limit is 10. If you send newsletters from a dedicated tool, consider giving it a subdomain such as news.yourdomain.com with its own SPF record. That keeps your main record short and protects your main domain's reputation if a campaign goes badly.

Common questions

I already have an SPF record. Should I add a second one?

No. A domain can only have one SPF record. Add the new service to your existing record, or rebuild it here with every service selected and replace the old one.

Where do I find the include value for a service?

In that service's domain or DNS setup instructions. The values listed here are the common defaults, but always confirm them, because some services use account-specific values or don't need SPF on your domain at all.

What does ~all mean?

Softfail: mail from servers you haven't listed should be treated with suspicion but not rejected outright. -all asks receivers to reject it. With a DMARC policy in place, the difference matters less.

Why does my record need to stay under 10 lookups?

SPF stops after 10 DNS lookups and returns an error, which counts as a failure. Each include uses at least one, and many providers include others inside their record.

More free email tools

Want records that are right from the start?

The free plan needs no card. Most of the setup is copying five DNS records.

Create your account