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
The record lists every service and server allowed to send as your domain. Anything missing from the list fails SPF.
Two v=spf1 records break SPF for every email. Merge everything into a single record, like the one generated here.
Gmail and Yahoo also require DKIM and a DMARC record. Add DMARC with our DMARC generator.
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.
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.
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.
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.
~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.
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.