Email setup checker: SPF, DKIM and DMARC
Gmail, Yahoo and Outlook check three DNS records before they trust mail from your domain. Enter a domain and we’ll read them, tell you in plain words whether its mail is likely to reach the inbox, and write the records that are missing.
We look up public DNS records only, and store nothing.
Build your SPF and DMARC records
Runs in your browser: nothing you choose here is sent anywhere.
SPF record
Tick every service that sends mail as yourdomain.com: your mailbox, newsletter tool, help desk and your app’s email service. A domain gets one SPF record, so all of them go in it.
From the service's setup page, like spf.example.com.
IPv4 or IPv6, ranges allowed (203.0.113.0/24).
Soft fail is the usual choice; use fail once you're sure every sender is listed.
TXT record on yourdomain.com (host “@” in most DNS panels):
v=spf1 ~all- 0 of the 10 DNS lookups SPF allows at the top level. Includes can contain further lookups, so check the published record with the checker above.
DMARC record
Start with “monitor” and a report address. Once the reports show only your own services sending, move to quarantine, then reject.
A mailbox you read; reports arrive as daily XML files.
TXT record on _dmarc.yourdomain.com (host “_dmarc” in most DNS panels):
v=DMARC1; p=noneDKIM can’t be written here: each service makes its own key pair and shows you the public key to publish. Turn on DKIM in every service that sends as yourdomain.com.
The four checks
MX. Where mail to the domain goes, and which mail host that is. Forwarding services only receive: you can't send from them.
SPF. Exactly one record, a valid ending (~all or -all), no more than 10 DNS lookups counting everything it includes, and an include for your mail host.
DKIM. A signing key at the selectors common services use, or the one you name, and its size (2048-bit is the current recommendation).
DMARC. One record at _dmarc, its policy (none, quarantine or reject), and a report address so you see who sends as you.
Records pass these checks, but inbox placement also depends on your sending reputation and what you send. DNS changes can take up to a few hours to show here.
Email authentication: common questions
- Why are my emails going to spam?
- Often because the domain can't prove the mail is really from it. Gmail and Yahoo require every sender to pass SPF or DKIM, and anyone sending in bulk to have SPF, DKIM and DMARC. With those in place, what's left is mostly your sending reputation: whether people open, reply or mark your mail as spam, and whether you mail addresses that don't exist.
- What's the difference between SPF, DKIM and DMARC?
- SPF lists the servers allowed to send as your domain. DKIM adds a signature to each message that receivers check against a public key in your DNS. DMARC ties them to the address in the From line and tells receivers what to do when a message fails both: deliver it anyway, send it to spam, or reject it.
- Why didn't the checker find my DKIM key?
- A DKIM key lives at a name you can't list from outside: <selector>._domainkey.<domain>. We try the selectors common services use. If yours is different (Amazon SES and Postmark, for example, use generated names), find it in your mail service's DNS settings or in the DKIM-Signature header of an email you sent (the s= value) and enter it.
- Can I have two SPF records?
- No. A domain must have exactly one record starting with v=spf1. With two, receivers treat SPF as broken for every message. Put every service in one record, for example v=spf1 include:_spf.google.com include:sendgrid.net ~all.
- Should DMARC be p=none, quarantine or reject?
- Start with p=none and a report address (rua): nothing changes for delivery, and the reports show which services send as you. When only your own services appear and they pass, move to quarantine, then reject. Reject is what stops others from sending mail that pretends to be you.
- Is anything stored?
- No. We look up public DNS records for the domain (through Cloudflare's public DNS), show you the result and keep nothing. The record builder runs in your browser.
Next: check your site’s security headers, and what it’s built with using the tech stack checker.
More free tools: Dofollow link checker · Link preview checker · Meta tag checker · OG image generator · All tools