SPF Record Generator
Tick the services that send email for your domain, add any server IPs, and copy a ready-to-publish SPF record — with a lookup counter so you stay under the 10-lookup limit.
How to use the SPF Record Generator
- Select your email providers.
- Add extra IPs or includes if needed.
- Publish the TXT record at your DNS host, then check it.
One SPF record, max 10 lookups
A domain must have exactly one SPF record. Each include:, a, mx and redirect counts toward a limit of 10 DNS lookups — go over and SPF fails. The generator counts them for you.
~all or -all?
~all (soft fail) is the safe default while you set things up. Move to -all once you’re sure every legitimate sender is listed and DMARC reports look clean.
Frequently asked questions
Where do I add the SPF record?
At your DNS provider (Cloudflare, Hostinger, GoDaddy…): create a TXT record on the root of your domain (@) with the generated value.
How long until it works?
Usually minutes; up to the record’s TTL (often 1 hour).