Skip to content
MailSlurp logo

Free DKIM checker

Find the DKIM key your sender has published and spot problems in its DNS record. Have a test email handy? Its headers give you the exact domain and selector to check.

Check a DKIM record

Copy the signing domain (d=) and selector (s=) from an email's DKIM-Signature header, or find them in your provider's DNS instructions. Don't know the selector? Leave it blank to try common names. An exact selector gives you a more reliable lookup.

Free one-time DNS lookup. No account required.

Find the domain and selector to check

Your email provider lists the DKIM records to publish when you authenticate a sending domain. Enter the signing domain and selector separately. For example, a selector of s1 and domain of example.com produce a lookup at s1._domainkey.example.com.

You can also open the original headers of an email sent through that provider. In DKIM-Signature, d= identifies the signing domain and s= identifies the selector. Use those values even if the signing domain differs from the visible From address. The DKIM lookup guide explains the record format and DNS lookup commands.

Leaving the selector blank tries common names, not every possible selector. If nothing is found, check the provider's setup or a real message header before changing DNS.

Read your DKIM lookup result

Compare the queried name and published record with your provider's instructions. The result shows any key algorithm and length returned by the lookup, alongside warnings, errors, and every selector name checked. A valid record is a good start. Check a delivered email's headers next to find out whether your sender actually used it successfully.

  • If no record is returned, verify the selector and signing domain. Check whether your DNS host appended the domain twice or a recent change is still propagating.
  • If a key is missing or malformed, compare the full value with the provider's record. Publish the public key supplied by the sender; keep the private signing key private.
  • Read the warning before replacing the record. Multiple selectors can remain active during a key rotation.

For RSA keys, RFC 8301 requires at least 1024 bits and recommends at least 2048 bits. Ask your sending provider for a new key if its configured RSA key falls below the required length.

Confirm DKIM on a delivered email

Send a test email through the same provider and sending domain used by your application or campaign. Open the recipient's original message headers and use the email header analyzer to inspect the receiving server's Authentication-Results. Look for dkim=pass and compare the reported signing domain and selector with your DNS lookup. The analyzer reads the recorded result; it does not reverify the signature.

If DKIM still fails, check whether the sender used another selector or the wrong private key, or whether the signed content changed in transit. The receiver's failure details and the DKIM-Signature header help you narrow it down. Keep the lookup specific to that sender: one missing selector doesn't tell you about every service sending from your domain.

Check alignment and monitor later changes

DKIM passing and DMARC alignment are separate results. DMARC checks whether a passing DKIM signing domain or SPF-authenticated domain aligns with the visible From domain. Review your SPF record and DMARC policy alongside the delivered message, then run an inbox placement test to check inbox and spam placement.

Repeat the lookup after a provider migration or selector rotation. For recurring checks, MailSlurp domain monitoring tracks SPF, DKIM, DMARC, and MX records so you can investigate changes after setup.

FAQ

What does this DKIM checker validate?

It looks up the public key at your domain and selector, then reports the key's algorithm, length and any record problems. To find out whether a particular email passed DKIM, check that message's Authentication-Results header too.

Is a DKIM lookup the same as a DKIM message test?

A DNS lookup checks whether a public key is available at the selected name. A receiving server verifies a message's DKIM signature using that key. Check Authentication-Results on a delivered email to see whether that message passed DKIM.

Can I run a DKIM lookup without a selector?

Yes. Leave the selector blank to try common names. This is a limited search: a missing result does not prove the domain has no DKIM record. Use the s= selector and d= signing domain from a DKIM-Signature header for an exact lookup.

Why does key length matter in DKIM?

For RSA DKIM keys, the standard requires at least 1024 bits and recommends at least 2048 bits. Key length alone does not prove a message passes DKIM; the sender must use the corresponding private key and sign the message correctly.

Does DKIM passing guarantee inbox delivery?

A DKIM pass confirms that a message's signature verified. DMARC also checks alignment with the visible From domain, and mailbox providers consider other delivery signals. Use an inbox placement test to check where your email lands.