Free tool· no sign-up

SPF record generator

Pick the services that send email for your domain and get a valid SPF record ready to paste in your DNS — with the 10-lookup limit checked for you.

Only used to show where the record goes.

Services that send email for this domain

IPv4 or IPv6, one per line or comma separated.

Domains given by other providers.

Mail from servers not listed

Your SPF record

1 / 10 DNS lookups
Type
TXT
Host
@ (your domain)
Value
v=spf1 include:spf.sendcorex.com ~all
Check my domain
Replace any existing v=spf1 record — a domain must have only one.

How SPF works

One list of senders

The record lists every service and server allowed to send as your domain. Anything missing from the list fails SPF.

Only one record

Two v=spf1 records break SPF for every email. Merge everything into a single record, like the one generated here.

SPF is not enough alone

Gmail and Yahoo also require DKIM and a DMARC record. Add DMARC with our DMARC generator.

Frequently asked questions

What is an SPF record?

SPF (Sender Policy Framework) is a TXT record on your domain that lists which servers are allowed to send email for it. Receivers like Gmail and Outlook check it on every message; if the sending server is not on the list, the email is more likely to go to spam or be rejected.

Where do I add the SPF record?

At the company that hosts your DNS (Cloudflare, GoDaddy, Namecheap, Route 53…). Create a TXT record with the host "@" (the root of the domain) and paste the generated value. Changes usually take a few minutes to a few hours to spread.

Can I have two SPF records?

No. A domain must have exactly one TXT record that starts with v=spf1. Two records make SPF fail for every email (permerror). If you use several services, put all of them in the same record — that is what this generator does.

What is the 10 DNS lookup limit?

Receivers stop evaluating SPF after 10 DNS lookups (each include, a, mx and redirect counts, plus the lookups inside each include). Above 10 SPF fails. Remove services you no longer use, and prefer ip4/ip6 for your own servers.

Should I use -all or ~all?

~all (soft fail) asks receivers to accept but mark mail from unlisted servers, which is safest while you set things up. -all (fail) tells them to reject it. With DMARC in place, ~all is the common choice; switch to -all once you are sure every sender is listed.

Stop landing in spam

Sendcorex sets up SPF, DKIM and DMARC for you, warms up your IPs automatically and watches the blocklists — free up to 3,000 emails a month.

Start free

More free email tools