SPF record generator

Type your domain. We read the SPF record it has now and find your email provider, then give you one record to paste, checked against the limit of 10 lookups that breaks so many records.

What an SPF record says

An SPF record is one line of text in your domain's settings that lists the servers allowed to send mail as your domain. Gmail and every other mail service read it on each message they get from you. Say your bakery, Corner Loaf, gets its mail through Google Workspace and answers catering questions through Zendesk. Its record would be:

TXT @

v=spf1 include:_spf.google.com include:mail.zendesk.com ~all

  1. v=spf1 says this line is an SPF record.
  2. include:_spf.google.com lets Google Workspace's servers send as cornerloafbakery.com.
  3. include:mail.zendesk.com lets Zendesk's servers send the replies to catering questions.
  4. ~all asks mail services to treat mail from any other server as suspicious.
An SPF record for cornerloafbakery.com, taken apart.
TypeNameValue
TXT@v=spf1 include:_spf.google.com include:mail.zendesk.com ~all
The same record as it looks on your DNS company's screen.

Type your domain above and we'll read the record it has now, find your email provider from your MX records (the entries that say where your mail goes), and build the record from those. Tick any other service that sends as you, and copy the result.

What breaks an SPF record

  • Two records on one domain. Mail services treat both as broken. Edit the one you have instead of adding a second; the builder puts two together for you.
  • More than 10 lookups. Each entry makes Gmail fetch that service's own list of servers, which can name more lists. Past 10 fetches, the whole record fails. The builder counts them for you.
  • A name with no SPF record of its own, such as a service you no longer use that took its record down. That breaks yours too.
  • Ending in +all, which lets every server in the world send as you.

Each entry costs at least one of the 10 lookups, and some cost far more, because the service's own list names others. We measured the common ones:

  • Google Workspaceinclude:_spf.google.com1 lookup
  • Microsoft 365include:spf.protection.outlook.com1 lookup
  • Zoho Mailinclude:zohomail.com2 lookups
  • Zoho Mail, older lineinclude:zoho.com5 lookups
  • GoDaddyinclude:secureserver.net3 lookups
  • Namecheap Private Emailinclude:spf.privateemail.com4 lookups
  • iCloud+include:icloud.com5 lookups
  • Porkbuninclude:_spf.porkbun.com6 lookups
  • Freshdeskinclude:email.freshdesk.com7 lookups
What each service's entry costs, measured on 30 November 2026. Services change their records, so the builder counts yours live.

Services that don't need an entry

SPF checks the hidden sender address on a message (the Return-Path), not the From address people see. Most newsletter, shop and receipt tools send from a Return-Path of their own, so an entry for them in your record does nothing but use up lookups. Their setup pages ask for something else:

ServiceOld entry, safe to take outWhat it asks for instead
Mailchimpinclude:servers.mcsv.netTwo DKIM records (CNAMEs) and DMARC
SendGridinclude:sendgrid.netDKIM records (CNAMEs) from its domain authentication
Brevoinclude:spf.brevo.com, include:spf.sendinblue.comDKIM records and DMARC
Shopifyinclude:shops.shopify.comIts own CNAME records, and DMARC
Postmarkinclude:spf.mtasv.netA Return-Path CNAME and DKIM
Mandrillinclude:spf.mandrillapp.comDKIM records and DMARC
SMTP2GOinclude:spf.smtp2go.comA return-path CNAME and DKIM
Help Scoutinclude:helpscoutemail.comDKIM; it says to take its old SPF line out
KlaviyoNoneA branded sending domain (NS or CNAME records)
From each service's own setup page, checked on 30 November 2026.

The builder marks these when it finds them in your record. Mail hosts, help desks such as Zendesk and Freshdesk, and Salesforce still need theirs.

Where to paste it

At the company that holds your domain's settings (its DNS), usually where you bought the domain. Add a TXT record, or edit the one that starts v=spf1:

DNS companyName boxValue box
GoDaddyName@Value
NamecheapHost@Value
CloudflareName@Content
SquarespaceName@Data
WixHost Nameleave emptyValue
HostingerName@TXT value
IONOSHost name@Value
BluehostRefers tochoose @ from the listTXT Value
Network SolutionsRefers tochoose @ from the listTXT Value
PorkbunHostleave emptyAnswer
Amazon Route 53Record nameleave emptyValue
Pick TXT as the type, and leave the TTL (the time setting) as it is. Each company's name opens our guide to its screen, with pictures. Wix: Only if your domain uses Wix's name servers. If it's connected by pointing, add the record where you bought the domain. Bluehost: Bluehost adds an SPF record to every domain: edit that one rather than adding a second. Amazon Route 53: Put the value in double quotes.

Where these rules come from

  • RFC 7208: Sender Policy Framework · IETFOne record per domain (section 3.2), at most 10 lookups (4.6.4) and 2 that find nothing, 255 characters per piece of text (3.3), and no ptr (5.5).
  • Email sender guidelines · GoogleEvery sender to Gmail needs SPF or DKIM; anyone sending 5,000 messages a day needs both, and DMARC.
  • Sender best practices · YahooThe same rules for Yahoo Mail: SPF or DKIM for everyone, both and DMARC for bulk senders.
  • New requirements for high-volume senders · MicrosoftSince May 2025, Outlook.com wants SPF, DKIM and DMARC from domains sending over 5,000 messages a day.

Checked against these on 30 November 2026.

Last updated

Email on your own domain, with every record checked.

When you connect your domain to FlatInbox, we show you each record to add, with a Copy button, and check them for you. Then everyone on your team shares one inbox. Request access, and we'll write to you when your account is ready. Free for small teams, then $9 a month for your whole team.

We only use your address to tell you when your account is ready.