Skip to content
deliverly.ai

Email authentication

SPF Record Generator

Pick the services that send your mail and get one valid SPF record, with a live lookup counter.

Already published? Open the SPF checker

1

Your domain

Optional, but it lets you merge with the record you already have and verify afterwards.

2

Services that send your mail

Each shows its real DNS lookup cost, measured by walking the vendor's include (updated 2026-11-21).

Mailbox
Marketing
Transactional
Support and CRM
Security
Hosting
3

Your own servers

IP addresses cost no DNS lookups, so they are the cheapest thing to add.

4

Policy for everyone else

How to build an SPF record

List every service that sends mail as your domain: your mailbox provider, your marketing platform, your help desk, your billing system. Each one publishes an include value in its documentation. Add any servers of your own by IP address, pick a policy, and publish the result as one TXT record at the root of your domain.

The counter above shows the real DNS lookup cost of each vendor, measured by walking its include. Stay at 10 or under. If you can't, move a sender to a subdomain such as mail.example.com with its own SPF record.

Rules this generator follows

It never produces +all or ptr. It puts cheap terms first (ip4 and ip6 cost no lookups), then includes, then a and mx, then all. If the record is longer than 255 characters it shows the value split into quoted strings, which is how DNS stores long TXT records.

Questions

My provider isn't in the list. What do I add?

Use the custom include field with the value from your provider's SPF documentation. The generator looks it up and counts its real cost.

What do I publish for a domain that sends no mail?

v=spf1 -all. It tells receivers that no server is allowed to send as that domain. Pair it with a DMARC record of p=reject.

Where does the record go?

At the domain itself, shown as @ in most DNS panels, as a TXT record. Not at _spf or any other subdomain.