Key facts
DKIM is a public key in DNS at selector._domainkey.domain that receivers use to verify a message signature. Enter the domain and the selector (it is in the DKIM-Signature header as s=…) or leave it blank and we try 30 common selectors. An RSA 2048-bit key is considered good, under 1024 weak.
- Price
- Free
- Sign-up
- Not required
- Processing
- On our server: DNS TXT (and CNAME) queries to selector._domainkey.your-domain, tag parsing and a key-length calculation
- Input
- A domain and, optionally, a selector (or paste selector._domainkey.domain in full)
- Limits
- No sign-up; 12 checks per minute per IP, no daily limit. Without a selector, 30 common ones are tried within about 10 seconds
- Output
- For each selector found: the record, version and key type, RSA key length, flags (such as testing mode) and warnings; a warning for a dangling CNAME
- Last updated
See it in action
Open source on GitHub
Run the same check on your own machine: a Node.js command-line tool, a library and a GitHub Action. Open source under the MIT license.
DKIM record lookup and key check
DKIM signs every message with a domain key, and the receiver verifies the signature against the public key in DNS at selector._domainkey.domain. This tool finds that record for your selector or tries 30 common ones (Google Workspace, Microsoft 365, Mailchimp, SendGrid, Zoho, Fastmail, Proton, HubSpot and more), follows CNAMEs, parses the tags and measures the RSA key length. Selectors cannot be listed via DNS, so "not found" only means "not among the selectors checked".
How to Use
- Enter the domain; take the selector from the DKIM-Signature header (s=) if you have it
- Without one we try 30 common selectors — it takes a few seconds
- Check the key status and replace keys shorter than 2048 bits
FAQ
Who it is for and typical uses
- You just set up a newsletter tool or Google Workspace. Confirm the record is published and look at the key length.
- Mail lands in spam. Check whether the domain has any DKIM key at all, and whether a weak key or a dangling CNAME is the problem.
- Auditing someone else’s domain. Quickly see which mail services it probably uses from the selectors found.
Honest limitations
- “Not found” does not mean “none”. DNS cannot list selectors and we only try 30 common ones. Take the exact selector from the header of a received message.
- Message signatures are not verified. We look at the key in DNS, not at whether a given message is signed or its body matches.
- No alignment or DMARC evaluation. That is a separate check.
- Slow DNS. If some selectors did not answer in time we say which ones were skipped.
Related: SPF checker, DMARC checker, BIMI, email header analyzer.
The next step after checking this record: set up DMARC.
PromoPilot vs alternatives: comparison
We compare only what is confirmed on each service's own pages. Where we could not confirm a fact, the cell shows "—".
| Parameter | PromoPilot | MxToolbox DKIM Lookup | dmarcian DKIM Inspector |
|---|---|---|---|
| Looks up a given selector | ✓ | ✓ domain:selector or the full selector._domainkey.domain host name | ✓ domain and selector required |
| Tries common selectors with no input | ✓ 30 selectors | Not stated on the page | ✗ |
| Key length and warnings | ✓ | The result format is not described on the page | ✓ tag table, warnings/errors and public key length |
| No sign-up needed | ✓ | — | ✓ a free tool; entered data is not stored (per the site) |
Scroll the table sideways
Where we are weaker: a real message’s signature is not verified, the scan is limited to 30 common selectors and 10 seconds, and there is no alignment check or combined SPF/DMARC report on the same page.
When to choose PromoPilot: When you need to find a domain’s DKIM key or check length and syntax after setting up a mail service. We do not verify the signature of a specific message, and a blind scan may miss a non-standard selector.
Checked on: . "—" means not confirmed on the official page; terms and prices change, so check the services' own sites.
How DKIM works and what this checker tests
DKIM (DomainKeys Identified Mail) adds a digital signature to every message. The sending server signs the headers and body with a private key; the receiver fetches the public key from DNS and confirms the message was not altered in transit and really comes from the domain owner. The public key lives in a TXT record at selector._domainkey.domain.
The DKIM checker finds that record, follows a CNAME if there is one, parses the tags and rates the key:
| Status | Meaning |
|---|---|
| key OK | RSA 2048 bits or more, or Ed25519, with no record errors |
| 1024-bit — upgrade | Still accepted, but it is the minimum; move to 2048 |
| weak key | Under 1024 bits — per RFC 8301 receivers must not accept these signatures |
| key revoked | Empty p=: signatures with this selector fail |
| invalid record | Unreadable key, wrong version or unknown key type |
How to find your DKIM selector
The selector is the key's name. The sender picks it, and a domain can have any number of selectors for different services. DNS offers no way to list them, so without a selector the tool tries the 30 most common ones. If nothing turns up, that only means "not among the selectors checked", not "no DKIM".
The exact selector is in every message sent from the domain. In Gmail, open a message → "Show original" and find the header:
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=example.com; s=google;
h=from:to:subject:date:message-id; bh=...; b=...
s=google is the selector and d=example.com the signing domain. The receiver's verdict appears in Authentication-Results: dkim=pass header.i=@example.com header.s=google. For DMARC, the d= domain must match the From domain — the DMARC checker covers that side.
Selectors used by popular services
| Service | Selector and record type |
|---|---|
| Google Workspace | google by default (customisable), TXT with the key |
| Microsoft 365 | selector1 and selector2, CNAMEs into Microsoft's zone |
| Mailchimp / Mandrill | k1 (also k2, k3), CNAME |
| SendGrid | s1 and s2, CNAMEs to sendgrid.net |
| Amazon SES | three random selectors per domain, CNAMEs to dkim.amazonses.com — impossible to guess; take them from the SES console or a message header |
| cPanel/Plesk hosting | often default or mail |
Providers change names and schemes, so check their documentation. A CNAME means the provider stores and rotates the key for you, which is fine. It is a problem only when the CNAME exists but its target has no record: signatures fail. In Microsoft 365 that usually means DKIM is not enabled for the domain in the admin center.
DKIM record syntax
v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA...
v=DKIM1— version; optional, but if present it must come first.k— key type:rsa(default) ored25519.p— the base64 public key. An empty value means the key is revoked.t=y— testing mode: receivers should treat signed mail as unsigned. Remove it after rollout.t=sis strict mode for subdomains.h— allowed hash algorithms. If it lists onlysha1, signatures fail: per RFC 8301 sha1 is no longer accepted.s— service type;*oremailfor mail.
A 2048-bit key is longer than 255 characters, so DNS stores it as several strings inside one TXT record. Most DNS dashboards split it automatically; if yours wants manual input, break the value into quoted chunks with no spaces inside the key.
Key length and rotation
Use 2048-bit RSA. To replace a key without downtime:
- Create a new key under a new selector (for example
s2026) and publish it in DNS. - Check it here with that selector.
- Switch signing to the new selector in your mail server or service.
- After a few days, once mail signed with the old key has been delivered, publish the old selector with an empty
p=, and later delete it.
For a self-hosted server you can generate a key with OpenDKIM or plain OpenSSL:
opendkim-genkey -b 2048 -s s2026 -d example.com # or openssl genrsa -out dkim.key 2048 openssl rsa -in dkim.key -pubout -outform der | base64
DKIM, SPF and DMARC together
DKIM survives forwarding while SPF usually breaks, so a DKIM signature with your own domain is the most reliable way to pass DMARC. Since February 2024 Google and Yahoo require bulk senders to use both SPF and DKIM plus a DMARC record; the details change, so check their current sender guidelines. Check the full set: SPF, DMARC and MX records.


