Free · No sign-up

SPF, DKIM and DMARC checker

See whether a domain's email is set up to reach the inbox and hard to fake. You'll get a plain answer for each record, and the exact fix for anything wrong.

What the checker tests

SPF

Finds the record and checks that there is only one. Tests each part, counts DNS lookups through every include against the limit of 10, and flags unsafe endings such as +all.

DKIM

Looks for keys at common selector names, or at the one you enter. Reads each key's strength, and spots keys that were revoked, cut when pasted, or left in test mode.

DMARC

Finds the record, including one inherited from a parent domain. Reads the policy that applies, and checks whether you receive reports and whether the policy covers all your mail.

How to fix what it finds

  1. List everything that sends for your domain. Include your mailboxes, your website's contact forms, newsletters and invoicing tools. Each one must be covered by SPF or DKIM.
  2. Publish one SPF record. Add each sender's include to the same record, then end it with ~all. A second SPF record breaks both.
  3. Turn on DKIM with each sender. Your email provider gives you the record to publish. It usually stays off until you switch it on in the provider's settings.
  4. Add DMARC at p=none, with a report address. Read the reports for a few weeks to confirm your real mail passes.
  5. Move to p=quarantine, then p=reject. Fake email using your domain then goes to spam or is refused.

Hosting your website or app with us? Your dashboard shows the records for mail your site sends, with a live check for each. See hosting plans

Questions

Questions about SPF, DKIM and DMARC

What do SPF, DKIM and DMARC do?

SPF lists the servers allowed to send email for your domain. DKIM adds a signature to each message, which proves it came from your domain and was not changed on the way. DMARC tells receivers what to do when a message fails those checks, and sends you reports about who is using your domain.

Do I need all three?

Yes, if your domain sends email. Gmail and Yahoo expect every sender to have SPF or DKIM, and bulk senders must have SPF, DKIM and DMARC. A domain with all three is also much harder to fake.

Why does the checker say it found no DKIM key when my DKIM works?

DKIM keys sit under a selector name chosen by your email provider, and DNS has no way to list them. We try common selectors, so a custom one can be missed. Open the headers of an email you sent, find the DKIM-Signature line, and enter its s= value in the selector box.

Should my SPF record end in ~all or -all?

Both are fine. ~all (soft fail) is the safer choice while you are still finding every service that sends for you. -all (hard fail) is stricter, and suits you once you are sure the list is complete. Never use +all, which allows every server in the world to send as you.

What is the SPF 10-lookup limit?

SPF may make at most 10 DNS lookups for each message, counting every include, a, mx, ptr, exists and redirect, including those inside other includes. Over the limit, SPF returns an error and can fail for all your mail. The checker counts them for you.

Which DMARC policy should I use?

Start with p=none and a rua address, and read the reports until all your real mail passes. Then move to p=quarantine, and to p=reject when you are confident. p=none only monitors: fake email is still delivered.

How long do DNS changes take to show?

Usually minutes, but it can take as long as the old record's TTL, sometimes a few hours. This checker asks public DNS resolvers and keeps a result for five minutes, so wait a little and check again.

Does this tool send an email or store my domain?

No. It only reads public DNS records. It sends no email, and results are kept in memory for five minutes and are not saved. It shows what is published, not whether a particular message passed, so also check the headers of a real email.