Free tool
DKIM checker
DKIM lookup and DKIM record check for any domain, no selector required
Free DKIM checker for any domain. Enter a domain and we auto-discover its DKIM selectors so you don't need to already know the name. See every key we find, its type and strength, and whether it is active, revoked, or misconfigured.
The check runs in your browser via DNS-over-HTTPS, so the DKIM records reach you without passing through our servers. When a working selector is found, we receive the domain name and the discovered selector names. Our servers re-verify them independently and store the selector name and public key metadata, plus our own check of the domain's public email-authentication records for our public domain index. We never see message content or private keys.
Direct answer
Free DMARC reports show you every sender using this domain and whether its mail passes DKIM. Paid plans add hourly checks of the DMARC, SPF, BIMI, MTA-STS, and TLS-RPT records, with an alert when one changes.
How to use this DKIM checker
Three steps from a domain name to a confident answer about its DKIM setup.
-
1
Enter a domain
Type any domain into the form above. If you already know the selector, add it too for a direct check.
-
2
Run the check
With a selector, we check it directly. Without one, we fingerprint the domain's email provider and try more than 130 common selector names via DNS-over-HTTPS from your browser.
-
3
Read the verdict, keys, and any gaps
Each selector found is graded: active, weak, test mode, revoked, or broken. Expected-but-missing selectors are called out by provider so you know exactly what to turn on.
Checking DKIM without a selector
A DKIM key is published at {selector}._domainkey.{domain} (RFC 6376 §3.6.2.1), and a DNS query only answers for the exact name it asks about. That is why a plain DKIM lookup tool needs the selector. Leave the selector field empty and this checker runs the selector lookup itself, in four steps.
-
1
Read the domain's mail setup
It queries the domain's MX records, its SPF and DMARC records, and one random name under _domainkey. A DKIM key at that random name means the zone answers every selector with a wildcard record, so dictionary matches identical to it are discarded.
-
2
Identify the mail providers
MX hostnames and SPF include: domains identify the providers that send for the domain, and the selectors those providers publish are queried first: google for Google, selector1 and selector2 for Microsoft 365, s1 and s2 for SendGrid, k1, k2 and k3 for Mailchimp. Up to five unrecognized includes are read one level deeper, to catch a wrapper such as include:_spf.example.com.
-
3
Probe the common names
Next it queries more than 130 selector names used by mail providers and self-hosted servers, such as default, dkim, mail, s1, and dated names like 20230601, 25 at a time over DNS-over-HTTPS from your browser. Once the scan passes 20 seconds, it starts no new batch, and the result notes that the scan stopped before every selector was tried.
-
4
Grade every key found
Each selector that returns a record is decoded and graded: active, weak key, test mode, revoked, invalid, broken CNAME, or duplicate records.
When no selector is found
When no key is found, the check ends in one of four verdicts, and each one calls for a different next step.
- No DKIM
- No provider selector and none of the common names returned a key. If a provider was identified from the MX or SPF records, an “Expected but missing” list under the verdict names the selectors that provider publishes, and their absence usually means DKIM signing was never turned on in its settings. Otherwise, either the domain does not sign with DKIM or it signs with a selector outside the list. Read the s= tag of the DKIM-Signature header on a message the domain sent, and enter that name in the selector field.
- Undetectable
- Every provider identified (Amazon SES, Salesforce Marketing Cloud) generates a random selector for each domain. The key can exist under a name no dictionary contains, so the checker does not conclude that DKIM is missing.
- Unavailable
- Some lookups got no answer from either DNS resolver. With part of the scan unanswered, a missing key and an unfinished check look the same, so the checker does not report No DKIM. Run the check again.
- Not resolved
- The domain has no MX record and no TXT record at its apex, so the checker stops before it probes any selector. Check the spelling of the domain name.
With a selector entered, the checker queries only that name, and a TXT record there that is not a DKIM key is reported as invalid.
How to check a DKIM record
A DKIM lookup is a DNS TXT query for {selector}._domainkey.{domain}. It returns the domain's public key record, a list of tag=value pairs defined in RFC 6376 §3.6.1. To look up the selector selector1 on example.com from a terminal:
macOS or Linux
Windows
A published 2048-bit key comes back as one TXT record made of two quoted strings:
A 2048-bit RSA key is longer than the 255 bytes one TXT string can hold, which is why it arrives split. Receivers join them with no space in between (RFC 6376 §3.6.2.2). For a CNAME-delegated selector, such as one from Microsoft 365, dig prints the CNAME target first, then the key.
What to check in the answer
- p= is present and not empty. An empty p= means the key was revoked (RFC 6376 §3.6.1).
- v=, if present, is exactly DKIM1 and is the first tag. Receivers discard a record that starts with any other v= value (RFC 6376 §3.6.1).
- k= is rsa or ed25519. Without k=, the key is RSA (RFC 6376 §3.6.1). Ed25519 keys are defined in RFC 8463.
- An RSA key is at least 1024 bits. RFC 8301 §3.2 forbids verifiers from accepting signatures made with shorter keys, and recommends that signers use 2048 bits or more.
- t=y is absent on a domain that signs in production. The flag marks the domain as testing DKIM, and verifiers must not treat its signed mail differently from unsigned mail (RFC 6376 §3.6.1).
- The name returns exactly one key record. With several TXT records at one selector, the result is undefined (RFC 6376 §3.6.2.2).
- A CNAME selector resolves to a TXT record. A CNAME whose target is gone leaves the selector with no key.
The DKIM record checker above runs the same lookup, decodes the key to measure its real size, and applies each of these checks. If the key it finds is weak or revoked, create a replacement with the DKIM generator.
A DKIM lookup is not a DKIM test
A lookup proves the public key is published and well formed. It cannot show whether your mail server or sending service signs outgoing mail, which selector it signs with, or whether its signatures verify. A DKIM tester for that needs a signed message. Send one from the service to a mailbox you control, open the message source, and find the Authentication-Results header the receiving server added (RFC 8601). dkim=pass with header.d= set to your domain means the signature verified. Paste the headers into the email header analyzer: it shows the receiver's verdict and links each DKIM-Signature to this checker with the domain and selector filled in.
What you can learn from a DKIM check
A DKIM check answers questions a DMARC or SPF check alone cannot. Use it to:
- Confirm DKIM signing is actually turned on after connecting Google Workspace, Microsoft 365, or an ESP.
- Find the selector name a provider used, without digging through raw email headers.
- Catch a broken CNAME delegation, the most common Microsoft 365 DKIM failure.
- Spot a weak or outdated key before a receiver starts rejecting it.
- Verify a key was revoked correctly after rotating away from a compromised selector.
- Audit a vendor or partner's DKIM setup before trusting mail sent on their behalf.
Understanding DKIM
What is a DKIM selector?
A selector is the label in a domain's DNS that points to one specific DKIM public key, published as a TXT record at {selector}._domainkey.{domain}. Selectors let a domain run more than one key at a time, for example one per sending platform, and rotate a key without touching any other selector.
Why some DKIM records are CNAMEs
Microsoft 365 and several other providers publish DKIM selectors as CNAME records pointing to a hostname the provider controls, rather than a direct TXT record. This lets the provider rotate the underlying key without the domain owner touching DNS. It also means a broken or deleted CNAME target silently disables DKIM until someone checks it.
1024-bit vs 2048-bit keys
RFC 8301 sets the floor: receivers must reject any DKIM key under 1024 bits. 1024-bit RSA keys still work but are considered weak against modern factoring attacks; 2048 bits or longer is the current recommendation for new keys. Ed25519 keys (RFC 8463) achieve equivalent strength at a fixed 256 bits using different cryptography.
Rotating a DKIM key
Rotating means publishing a new selector with a new key, switching the sending platform to sign with it, and only then revoking the old selector by emptying its p= tag. Revoking the old key before the new one is confirmed working breaks signing entirely, so the two steps should never happen in the same change.
Why some providers hide the selector
Amazon SES and Salesforce Marketing Cloud generate a random selector name for each domain you verify, such as a long hexadecimal label. There is no fixed name to guess and no dictionary that covers them, so a checker cannot confirm the key exists by probing. That is why this tool reports 'undetectable' rather than 'no DKIM' for those providers: the key is almost certainly there under a name only the platform knows. To see it, open the provider's DNS or sending dashboard, or paste a real message into the email header analyzer, which reads the selector straight from the DKIM-Signature header.
Frequently asked questions
- What is DKIM?
- DKIM (DomainKeys Identified Mail, RFC 6376) lets a sending domain cryptographically sign outgoing email. The public key is published as a DNS TXT record; the private key signs each message. A receiving server fetches the public key and verifies the signature, which confirms the message was not altered in transit and really was sent by a server holding that domain's private key.
- What is a DKIM selector?
- A selector is the label that tells a receiver which DKIM public key to fetch for a given signature. The DNS record lives at {selector}._domainkey.{domain}, so a selector named "google" for example.com publishes its key at google._domainkey.example.com. Domains can run several selectors at once and rotate between them.
- How do I find my domain's DKIM selector?
- The selector is not published anywhere on its own. It appears in the s= tag of a DKIM-Signature header on a message the domain actually sent, or in your email provider's setup documentation. This tool sidesteps that by fingerprinting your provider from your MX and SPF records and dictionary-probing more than 130 selector names providers commonly use.
- Why did my DKIM check show 'no active key'?
- That verdict means we found at least one DKIM selector, but every one of them is unusable: an empty p= tag (a revoked key), an invalid record, or a CNAME that no longer resolves. Functionally this is the same as having no DKIM at all until the key is fixed or rotated.
- Is a 1024-bit DKIM key secure enough?
- RFC 8301 requires receivers to reject any DKIM key shorter than 1024 bits, treats 1024-bit RSA as acceptable for now but weak, and recommends 2048 bits or longer for new keys. Ed25519 keys (RFC 8463) use 256-bit keys with different math and are considered strong at that size.
- Why does DKIM show 'undetectable' instead of a pass or fail?
- Some providers, notably Amazon SES and Salesforce Marketing Cloud, generate random per-domain selector names that cannot be guessed or dictionary-probed. When we fingerprint one of these providers and find nothing, we report 'undetectable' rather than 'no DKIM' because the key may well exist under a selector we cannot predict. Check the sending platform's dashboard, or run our email header analyzer on a real message to see the selector it actually used.
- Is this DKIM checker free?
- Yes. The DKIM checker is completely free with no signup required. The check runs in your browser using public DNS-over-HTTPS resolvers, so the DKIM records themselves never pass through our servers. When a working selector is found, we do receive the domain name and the discovered selector names; our servers re-verify them independently and store the selector name and public key metadata, along with our own check of the domain's public email-authentication records for our public domain index.
Now watch your email authentication
A DKIM check tells you a key is valid today. It does not tell you if a key gets revoked, a CNAME breaks, or a new sender starts spoofing your domain next month. Create a free account to read your aggregate reports, which show the DKIM result of each sender they list. Paid plans also check your DMARC, SPF, BIMI, MTA-STS, and TLS-RPT records every hour and alert you when the next check confirms a change.