DKIM record checker

Look up a DKIM key by selector, or let us try the most common selectors, and check that the key is strong enough.

Free, no sign-up. We only read public DNS records.

How DKIM works

DKIM (DomainKeys Identified Mail) adds a digital signature to every message you send. Your email provider signs with a private key that never leaves its servers, and you publish the matching public key in DNS. The receiving server fetches the public key and checks the signature. If anyone changed the message on the way, or a server without the key tried to sign as you, the check fails.

The public key is a TXT record (or a CNAME pointing to one) like this:

selector1._domainkey.yourdomain.com  TXT  "v=DKIM1; k=rsa; p=MIIBIjANBgkqh…"

What the checker looks for

  • A key at the selector. Without a selector, we try about 35 common names used by Google, Microsoft 365, Olvane, Amazon SES and other services.
  • Key length. We estimate it from the published key: under 1024 bits fails, 1024 works but should be upgraded, 2048 or more passes.
  • Revoked keys. A record with an empty p= means the key has been withdrawn, and signatures made with it fail.
  • Test mode. t=y asks receivers to treat failures leniently. Remove it once everything works.

Common DKIM problems

  1. The record was pasted with quotes or line breaks inside the key. The key must be one unbroken base64 string. Long records can be split into several quoted strings, but the key itself must not contain spaces.
  2. The record was created at the wrong name. Some DNS panels add your domain automatically, so selector._domainkey.yourdomain.com becomes selector._domainkey.yourdomain.com.yourdomain.com. Enter only selector._domainkey in those panels.
  3. DKIM was never switched on at the provider. Publishing the key isn't enough with some services: you also have to enable signing in their admin panel.

Next steps

DKIM is what DMARC relies on most. Once your key checks out, confirm your policy with the DMARC checker, or follow our SPF, DKIM and DMARC setup guide.

Common questions

What is a DKIM selector?

A selector is a name that points to one DKIM key. The key is published at selector._domainkey.yourdomain.com, so one domain can have a separate key for each service that sends its mail. Your provider tells you the selector when you set DKIM up.

How do I find my DKIM selector?

Open an email you sent and view the original message or its headers. Find the DKIM-Signature header: the s= value is the selector and d= is the signing domain.

What key length should I use?

2048-bit RSA is the current recommendation. 1024-bit keys still work but are considered weak, and keys shorter than 1024 bits are rejected by Gmail and most large providers.

Does DKIM stop my email going to spam?

On its own, no, but it's one of the strongest trust signals you can give. A valid DKIM signature from your own domain is also what makes DMARC pass reliably, even when mail is forwarded.

More free email tools

Want records that are right from the start?

The free plan needs no card. Most of the setup is copying five DNS records.

Create your account