Home › Free tools › SPF & DMARC generator
Answer a few questions about who sends mail for you and get the exact DNS records to publish, including a running count against SPF’s ten-lookup limit, which is the thing that silently breaks these.
Runs in your browser. Nothing is sent anywhereRecords go on your registrable domain, not on www.
Select every service that sends mail using your domain, including invoicing, ticketing and marketing tools, which are the ones usually forgotten.
~all while you are still finding senders, then tighten to -all.
Not email authentication, but the same kind of one-line DNS policy, it restricts which certificate authorities may issue for your domain.
Publish each of these as a DNS record at the name shown.
It assembles a valid SPF record from the mail services you select, counts the DNS lookups that record will cost against the limit of ten, and warns you before you publish something that will fail evaluation. It also generates a matching DMARC record and an optional CAA record.
SPF evaluation is capped at ten DNS lookups. Every include, a, mx and redirect mechanism counts, and includes are recursive, so a single provider can consume several. Exceeding the limit produces a permerror, which many receiving servers treat as a failure - so the record exists, looks correct, and does not work.
Start with p=none and a reporting address. That gives you visibility into every system sending as your domain without affecting delivery. Once the reports show only senders you recognise and have authorised, move to quarantine, then to reject.
No. The entire tool runs in your browser. The records are assembled locally in JavaScript and nothing is transmitted, logged or stored on a server.