SPF, DKIM and DMARC Generator
These three DNS records tell receivers that your mail is genuine. Pick a tab, fill in the fields and add the result at your DNS provider as a TXT record.
SPF defines which servers may send mail for your domain.
DMARC tells receivers what to do with mail that fails SPF and DKIM.
DKIM signs your mail. Here you generate a key pair entirely in your browser.
Runs entirely in your browser. Names, passwords and free text never leave your device. For our statistics, we count that the tool was opened and used, plus a few selected options (numbers you enter and results only in broad ranges), without cookies and without any link to you.
How it works
- SPF: enter which servers may send mail on your behalf and copy the record.
- DKIM: generate a key pair. You add the public part to DNS and store the private key in your mail server.
- DMARC: start with the “no action” policy and an address for reports, and tighten it once everything passes.
- Create each record as a TXT record with the name shown and wait until DNS serves it.
Frequently asked questions
Why do I need all three records?
SPF says which servers may send. DKIM signs every message cryptographically. DMARC says what receivers should do when both fail and gives you reports. Large providers require all three for bigger volumes of mail.
May I create several SPF records?
No. A domain may have only one SPF record, otherwise all are invalid. Add further senders with include: to the same record.
What is the limit of 10 lookups?
SPF may need at most 10 DNS lookups (include, a, mx and similar). Nested includes inside the target count as well, the generator only shows what you enter. For a long list, double-check with an SPF checker.
Where does the private DKIM key go?
It is generated in your browser and never stored or sent anywhere. Save it yourself and add it to your mail server. If you lose it, generate a new pair with a new selector. Never share it.
Which DMARC policy do I start with?
With “none” and an address for reports. That shows who sends in your name without losing mail. Only when all legitimate senders pass do you move to “quarantine” and later “reject”.
Related offerWeb hosting for your website, with SSL certificate and email mailboxes.
See web hosting →