What is a DKIM checker?
DKIM (DomainKeys Identified Mail) protects email with a digital signature. The server that sends a message signs some
of its headers and its body with a private key. The receiver reads the DKIM-Signature header, fetches
the matching public key from DNS and checks the signature. If it verifies, the message really comes from a server
allowed to send for the domain and was not changed on the way.
This DKIM checker looks up those public keys. Enter a domain and, optionally, a selector. Without a selector it tries over 30 selectors used by the most common providers (Google Workspace, Microsoft 365, Mailchimp, SendGrid, Amazon SES, Zoho, Proton, Fastmail and more), shows every key it finds and checks each one.
How to use the DKIM checker
- Type the domain that appears after the @ in the sender address, for example
example.com. - If you know the selector, enter it too. Otherwise leave it empty and the tool searches the common ones.
- Press Enter. Each key found gets its own card: provider, key type and length, testing mode, problems and the raw record.
Finding the selector: open an email sent from the domain, choose "Show original" (Gmail) or "View
message source" (Outlook) and find the DKIM-Signature header. The s= tag is the selector
and d= is the signing domain: d=example.com; s=google; means the key is published at
google._domainkey.example.com.
Reading a DKIM record
v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA...
| Tag | Meaning |
|---|---|
v=DKIM1 | Version. Optional, but if present it must be the first tag and exactly DKIM1. |
k=rsa | Key type. rsa by default; ed25519 is newer but not verified by every receiver yet. |
p= | The public key in base64. Empty means the key has been revoked. |
t=y | Testing mode: receivers should not treat failures differently from unsigned mail. Remove it once DKIM works. |
h= | Hash algorithms allowed. If present, it must include sha256. |
s=, n= | Service type and notes. Rarely used. |
Common DKIM problems
No record found
Either DKIM is not enabled at your email provider or the record is at another name. Most providers require two
steps: publish the record in DNS, then click "Start authentication" or "Verify" in their admin panel. Check also
that your DNS panel did not append the domain twice (google._domainkey.example.com.example.com).
Key too short
Keys of 1024 bits still pass, but 2048 bits is the standard today. Generate a new key at your provider, publish it under a new selector, switch signing to it and remove the old record a few days later. That way no message is ever signed with a key that is not in DNS.
Record cut or broken
A 2048-bit key is longer than 255 characters, the limit of a single TXT string. Good DNS panels split it automatically; others need you to paste it as several quoted strings. If the key is cut or contains extra spaces or quotes, the checker reports an invalid key.
Several records for one selector
There must be exactly one TXT record per selector. With two, receivers pick one at random and DKIM fails half of the time.
DKIM, SPF and DMARC
The three work together. SPF lists the servers allowed to send for a domain; DKIM signs each message; DMARC requires that SPF or DKIM pass for the domain in the From address and tells receivers what to do when they do not. DKIM is the most robust of the three because the signature survives forwarding, which usually breaks SPF. Since 2024 Gmail and Yahoo require SPF, DKIM and DMARC from anyone who sends in bulk.