SPF, DKIM and DMARC generator
Write the three email authentication records for your domain and see what your DNS publishes right now.
About SPF, DKIM and DMARC Generator
SPF lists the servers that may send mail for your domain. DKIM adds a signature that receivers check against a public key you publish. DMARC tells receivers what to do when those checks fail and where to send reports. This page builds all three as TXT records. The SPF builder counts the DNS lookups your entries use, because SPF stops working past ten. The DKIM builder reads a pasted public key and warns about weak sizes. A lookup box shows the record a domain publishes today, fetched through a public DNS resolver.
- Setting up mail for a new domain.
- Adding a newsletter or CRM sender without breaking SPF.
- Moving a DMARC policy from none toward reject.
- Turning a key from your mail server into the TXT record your DNS host expects.
How to use SPF, DKIM and DMARC Generator
Step 1
Pick SPF, DMARC or DKIM and fill in the fields. The record updates as you type.
Step 2
Read the notes under the record. They flag a lookup count over ten, weak keys and a missing report address.
Step 3
Copy the record into a TXT entry at the host name shown, then use the lookup box to confirm it is live.
Good to know
- The SPF counter covers only what you list here. Every include can contain more includes that also count, so look up each one before you trust the number.
- A domain should have one SPF record only. Edit the existing record instead of adding a second one.
- Start DMARC at p=none with a report address, read the reports for a few weeks, and only then tighten the policy. The domain you look up is sent to our server to fetch public DNS data and is not stored.
Common questions
What is the limit of 10 lookups in SPF?
A receiver may make at most ten DNS lookups while it evaluates an SPF record. Each include, a, mx, ptr, exists and redirect term counts, and so does everything those terms pull in. Going over makes SPF fail with a permanent error, which can send your mail to spam.
Should I start DMARC with p=reject?
No. Start with p=none and a report address, read the reports, fix any real sender that fails, then move to quarantine and later reject. Jumping straight to reject can block your own mail.
Can I paste a private key here?
No, and the page refuses it. DKIM publishes only the public half of a key pair. Keep the private key on your mail server.