Free tool · Check
DKIM checker
Enter a domain and selector to look up its DKIM key and check the key length and syntax. Don't know the selector? Leave it blank and we try the common ones.
What the DKIM checker checks
It looks up the public DKIM key a domain publishes at a selector, checks the record's syntax, key type and length, and flags test mode and revoked keys. Receivers use that key to verify the signature on your mail; if it's missing or broken DKIM fails, and without an aligned DKIM or SPF pass, DMARC fails too.
How to read your results
- DKIM key found
- Receivers can verify mail signed with this key. With a 2048-bit key there's nothing to do.
- Shorter than 2048 bits
- A 1024-bit key still verifies, but 2048 bits is the current recommendation. Generate a new key in your provider's DKIM settings and publish it in place of the old one.
- Test mode (t=y)
- Tells receivers to treat failed signatures like unsigned mail. Remove
t=yonce signing works. - No key at the usual selectors
- Your provider may use a selector we didn't try. Find it in the
s=tag of a DKIM-Signature header or your provider's DKIM settings, and enter it. - No key at your selector
- Nothing is published at
selector._domainkey.yourdomain.com. Check the spelling, and that the record was added and switched on at your provider. - Problem in the key
- A syntax error, a key that won't parse, or an empty
p=(a revoked key). Copy the record again exactly as your provider shows it.
Where to find your selector
Open any email you sent, view the original or raw source, and find the DKIM-Signature header. The s= tag is the selector and d= is the signing domain. The key lives at selector._domainkey.domain.
Your email provider also lists the selector in its DKIM or domain settings.
Testing DKIM on a real message
A published key only proves half of it: the sending server also has to sign with the matching private key. Send a message to the email deliverability test, or paste a received message's headers into the header analyzer and look for dkim=pass with header.d set to your domain.
Fix this by sending through Groundmail.
Add your domain and we give you the exact SPF, DKIM, DMARC and return-path records, check them for you, and sign every message with your own domain's key. Free for 3,000 emails a month.
Questions
What is DKIM?
DomainKeys Identified Mail. The sending server signs each message with a private key, and publishes the matching public key in DNS. Receivers verify the signature to confirm the message came from the domain in the d= tag and wasn't changed on the way.
What is a DKIM selector?
A name that tells receivers where to find the public key, so one domain can have several keys (one per provider, or old and new during a rotation). The key is published as a TXT record at selector._domainkey.yourdomain.com.
What does DKIM fail mean?
The receiver couldn't verify the signature: the key isn't published at the selector in the signature, the key doesn't match the private key that signed, or the message was changed in transit (often by a forwarder or mailing list adding a footer). Check the key here first, then the headers of a failing message.
Is a 1024-bit DKIM key still OK?
It still verifies, but 2048-bit keys are the current recommendation and some receivers trust short keys less. Rotate to 2048 bits when you can.
What does t=y mean in a DKIM record?
Test mode: the domain is telling receivers not to treat failed signatures differently from unsigned mail. Remove it once signing works.