DKIM Checker
DKIM proves a message was not altered after it was sent: the sender signs it with a private key, and receivers verify the signature with the public key published in DNS. If that public key is missing, weak, or under the wrong selector, verification fails and your mail loses its strongest authentication signal. Enter a domain and a selector below — the selector is the short name your mail provider gave you, such as google, default or s1 — and this page reads the DKIM record, checks the key, and explains what it finds.
The check runs in your browser against free public DNS resolvers. Nothing you type is stored on this site.
What DKIM is, in plain English
DKIM — DomainKeys Identified Mail — is a digital signature on your email. When your mail server sends a message, it signs parts of it (the body and selected headers) with a private key that only you hold. The matching public key is published in DNS as a TXT record. Any receiving server can fetch that public key and check the signature: if it matches, the message was not altered in transit, and it really came from your domain.
DKIM is the only one of the three email authentication methods that survives forwarding: SPF breaks when a message is forwarded (the forwarding server is not in your SPF record), but a DKIM signature stays valid as long as the signed content is unchanged. That is why receivers trust DKIM so much — and why a missing or broken DKIM key hurts deliverability even when SPF passes.
Selectors: the part everyone gets wrong
A DKIM record lives at <selector>._domainkey.<domain>. The selector is a short name chosen by whoever set up signing — your provider picks one, such as google for Google Workspace or s1 for Microsoft 365 — and it lets you run several keys at once. When you rotate keys, you publish the new key under a new selector and switch signing to it, without ever breaking the old one.
The most common DKIM failure is simply using the wrong selector. The record you are looking for is named by the selector in the message's DKIM-Signature header (s=). If you check default but your provider signs with google, the lookup finds nothing — and that tells you nothing about whether DKIM works. Always take the selector from a real message header, or from your provider's setup page.
Key length and rotation
For RSA keys, 2048 bits is the current standard; 1024 bits still works but is ageing, and anything shorter should be replaced. Ed25519 keys are much shorter by design (256 bits) and are equally strong — do not mistake a short Ed25519 key for a weak one. The key type is in the record's k= tag (rsa is the default when it is missing).
Rotate keys about once a year, or immediately if you suspect a private key leaked. Rotation is safe because of selectors: publish the new public key under a new selector, wait a day for it to spread, switch your mail server to sign with the new selector, wait another day, then delete the old record. Never delete the old record before the new one is in use — messages already in transit still need it.
How to fix the common DKIM problems
No record for the selector: publish the TXT record your provider gave you at host <selector>._domainkey. Watch out for DNS providers that split long TXT values or add quotes — the key must be one continuous base64 string. Record exists but signatures fail: the private key on your mail server and the published public key must be a pair. Re-copy the public key, or regenerate the pair.
DKIM passes but mail still goes to spam: DKIM only proves the message was not altered. Check SPF and DMARC too — and remember that DMARC alignment requires the DKIM signing domain to match the From domain. A message signed with your provider's shared domain (not yours) passes DKIM but fails DMARC alignment.
Frequently asked questions
What is a DKIM record?
A DKIM record is a TXT record at
What is a DKIM selector?
A selector is the short name that identifies one DKIM key, for example google, default or s1. It appears as s= in the DKIM-Signature header of your mail, and the public key lives at
How do I find my DKIM selector?
Open the headers of a message sent from your domain and look for the DKIM-Signature header — the s= value is the selector. Your mail provider's setup page also lists it (Google Workspace uses google; Microsoft 365 uses s1 and s2).
What key length should DKIM use?
2048-bit RSA is the current standard. 1024-bit RSA still works but is ageing. Ed25519 keys are 256 bits by design and are equally strong — a short Ed25519 key is not a weak key.
Why does DKIM fail even though the record exists?
Common causes: the wrong selector was checked, the public key in DNS does not match the private key on the mail server, the TXT value was split or quoted by the DNS provider, or the message was modified in transit (for example, by a mailing list adding a footer).
Does DKIM alone stop spoofing?
No. DKIM proves a message was not altered, but receivers only act on a DKIM failure when a DMARC policy tells them to. Use DKIM together with SPF and a DMARC policy of quarantine or reject.
Is this DKIM checker free?
Yes. It runs in your browser against free public DNS services. There is no account, no limit on checks, and nothing you type is stored.