Free tool
Generate your SPF and DMARC records
Pick your email provider and the services that send on your behalf. We give you both records, ready to copy into your domain’s DNS.
What this tool generates
Two text (TXT) records for your domain’s DNS:
- SPF, on the domain itself (the name is usually written as
@): the list of servers allowed to send email on your behalf. - DMARC, at
_dmarc.yourdomain.com: what to do with emails that fail the check and where to send the reports.
The third one, DKIM, can’t be generated from outside: your email provider creates the key (in Google Workspace, under Authenticate email; in Microsoft 365, in the Defender portal) and you just copy it into your DNS.
How to use it
- Choose your email provider, the one that hosts your mailbox. If it isn’t on the list, choose “Another one” and type its
includein the field below: you’ll find it on its SPF help page. - Tick the services that send email from your domain: the newsletter, the invoicing tool, the CRM or the online store. If you leave one out, its emails will fail SPF.
- For DMARC, start with
p=noneand an address for the reports. For a few weeks they’ll tell you who sends on behalf of your domain; once everything legitimate passes, move up toquarantineand, later on, toreject. - Copy the records into your DNS, in your domain provider’s control panel. If you already have an SPF record, replace it: a domain can only have one.
Mistakes it helps you avoid
| Mistake | What happens | How we avoid it |
|---|---|---|
| Two SPF records | The check returns an error and it’s as if you had none | We give you a single one with everything in it |
| More than 10 DNS lookups | SPF fails | We count the include entries and warn you |
+all at the end |
Any server can send on your behalf | We only offer ~all or -all |
| DMARC without reports | You can’t see who’s using your domain | We add rua with your address |
Once you’ve published them, wait a few minutes and check them with the SPF, DKIM and DMARC checker. The full step-by-step explanation is in the guide SPF, DKIM and DMARC in ten minutes.
Frequently asked questions
Is it free?
Yes. The records are generated right here from what you choose: we don’t look anything up and you don’t need to sign up.
I already have an SPF record. Do I add another one?
No: a domain can only have one SPF record. Generate a new one with everything that sends on your behalf and replace the one you have.
~all or -all?
With ~all, emails from servers that aren’t on the list are marked as suspicious; with -all, they’re rejected. Start with ~all and switch to -all once you’re sure no service is missing.
When do I move from p=none to quarantine?
When the DMARC reports show that all the legitimate email from your domain passes SPF or DKIM. A few weeks of clean reports is usually enough.
Early access
Stop sending emails nobody answers.
Create your account and get started today. The first 50 customers pay half, with a 7-day free trial, no card and no lock-in.
Not convinced? Take your data with you.