DKIM lookup

Find the DKIM keys a domain publishes and check that they're strong enough.

Enter a domain or address to check.

Free, no account needed.

If you know it, e.g. "google" or "s1". We also try 60+ common ones.

A signature, and a key in DNS to check it

DKIM signs each message, and receivers check that signature against a public key published at selector._domainkey in your DNS.

Read moreShow less: A signature, and a key in DNS to check it

DKIM (DomainKeys Identified Mail) lets a sending service sign each message with a private key it keeps secret. The signature travels in a DKIM-Signature header, which names two things: the signing domain (d=) and a selector (s=). The receiver joins them into a DNS name, fetches the public key published there, and checks the signature against the message:

selector._domainkey.example.com   TXT   "v=DKIM1; k=rsa; p=MIIBIjANBgkq…"

If the message was changed after signing, or the key in DNS doesn't match the one that signed, DKIM fails. Unlike SPF, a DKIM signature usually survives plain forwarding, because it doesn't depend on which server delivers the message; a mailing list that edits the message can still break it.

Why the checker has to guess

DNS can't list the selectors a domain uses, so we try 68 common names, starting with your mail provider's, plus any you type in.

Read moreShow less: Why the checker has to guess

DNS can tell you the key for a selector you already know, but it has no way to list the selectors a domain uses. So for each domain we try 68 selector names that email services use (google for Google Workspace, selector1 and selector2 for Microsoft 365, k1 for Mailchimp, s1 for SendGrid and so on), plus any selector you type in the optional box. When the domain's MX records point at a provider we know, that provider's own selectors go first, such as cf2024-1 for Cloudflare Email Routing. Some services can't be guessed at all: Amazon SES gives every domain three random selector names, and Postmark and HubSpot put a date or account number in theirs. To find yours for certain, open a message you sent, view its headers, and read the s= value in the DKIM-Signature line.

What each part of the result means

Every key gets its own Pass, Note or Warning based on its type and length, and the summary counts the usable ones.

Read moreShow less: What each part of the result means

The summary counts what we found: "Found 5 DKIM keys (k1, mandrill, s1, smtpapi, krs)." Each key then gets its own finding:

  • "Selector google (Google Workspace): 2048-bit RSA key", Pass. The service name in brackets is our guess from the selector name.
  • "Selector k1 (…): 1024-bit RSA key", a Note rather than a problem. Every standards-compliant receiver must be able to verify a 1024-bit key; 2048 is the current recommendation.
  • "Selector …: weak 512-bit key", Warning. RFC 8301 says receivers must not treat a signature from a key under 1024 bits as valid, so mail signed with one fails DKIM.
  • "Selector …: key revoked" means the record has an empty p= value, published on purpose to retire the key. "key can't be read" means the record is damaged, often cut short when it was pasted.
  • "Selector … is in test mode (t=y)" means receivers must treat its mail like unsigned mail: failures aren't held against you, but passes count for nothing either.
  • "No DKIM key found on common selectors", Warning. Either DKIM isn't set up, or the service uses a selector name outside our list.

Technical details has a table with Selector, Service, Key (rsa, ed25519 or revoked) and Length, and below it the full list under "Selectors tried".

Three domains, 21 October 2026

Real results for github.com and cloudflare.com, and for wikipedia.org, where guessing found nothing.

Read moreShow less: Three domains, 21 October 2026

We found 12 keys for github.com on our selector list: google (2048 bits), selector1 (1024 bits, the Microsoft 365 name), k1 (1024) with k2 and k3 (2048), names Mailchimp uses, s1 and s2 (2048, usually SendGrid) and smtpapi (1024), mailo (1024, which Mailgun usually uses), cm (1024, Campaign Monitor's name), and zendesk1 and zendesk2 (2048). Each service signs with its own key, so a problem with one doesn't affect the others.

cloudflare.com returned six keys: k1, mandrill, smtpapi and krs at 1024 bits, and s1 and m1 at 2048. m1 is the name SendGrid uses when its automated security setting is off; it only turned up once that selector joined our list.

wikipedia.org returned "No DKIM key found on common selectors" after trying all 68 names. That is a limit of guessing, not evidence of a problem: a domain that signs with a selector outside the list looks exactly like one that doesn't sign. The way to settle it is to read the s= value from one of the domain's messages and type it into the selector box.

Turning DKIM on, and fixing broken keys

Setup steps for Google Workspace and Microsoft 365, and the fix for a truncated, stale or weak key.

Read moreShow less: Turning DKIM on, and fixing broken keys

Google Workspace. In the Admin console, go to Apps, Google Workspace, Gmail, Authenticate email, pick the domain and generate a new record. Choose 2048 bits unless your DNS host can't store a key that long. Publish the TXT record at google._domainkey, then return to the console and click Start authentication. Google notes that after Gmail is turned on for your organization, you may have to wait 24 to 72 hours before you can generate the key.

Microsoft 365. Microsoft hosts the keys and you publish two CNAMEs that point to them. The exact targets are shown in the Defender portal's DKIM settings (or with Get-DkimSigningConfig). For a domain added since May 2025 they look like this; older domains use ….onmicrosoft.com targets instead:

selector1._domainkey   CNAME   selector1-example-com._domainkey.yourtenant.n-v1.dkim.mail.microsoft
selector2._domainkey   CNAME   selector2-example-com._domainkey.yourtenant.n-v1.dkim.mail.microsoft

Here yourtenant is the first part of your onmicrosoft.com domain, and the letter before -v1 varies. Then switch the domain's DKIM toggle to Enabled. New Microsoft keys default to 1024 bits; Rotate-DkimSigningConfig -KeySize 2048 moves them to 2048.

A truncated key. A 2048-bit key is longer than the 255 characters one TXT string can hold. If your DNS host doesn't split it automatically, paste it as several quoted strings in one record, or use the host's own long-text field.

A key that no longer matches. If the sending service rotated its key and you published a copy, rather than a CNAME, the copy is stale. Generate a fresh record in the service and replace the old one.

A weak key. Generate a new 2048-bit key in the sending service, publish it under a new selector, switch signing to it, and remove the old record a few days later.

DKIM questions

Short answers on finding your selector, several keys at once, key length, TXT or CNAME, dkim=none and rotation.

How do I find my DKIM selector?

Open a message you sent, view its headers and find the DKIM-Signature line: the s= value is the selector and d= is the signing domain. Your email service's DKIM settings page shows it as well.

Can a domain have multiple DKIM records?

Yes, one per selector. That is how several services sign for the same domain, as GitHub's 12 keys show. What you can't do is publish two different keys under the same selector name.

Should I use a 1024-bit or 2048-bit DKIM key?

Use 2048 bits if your DNS host can store it: Google recommends it, and so does RFC 8301, which also sets 1024 bits as the minimum. Longer keys are rarely worth it; 4096 bits is the largest size receivers are required to verify.

Is a DKIM record a TXT or a CNAME?

Either, depending on the service. A TXT record holds the key itself; a CNAME points to a key the service hosts and rotates for you, which is how Microsoft 365 and many sending platforms work.

What does dkim=none mean?

The message had no DKIM signature, so there was nothing to check. Turn on signing in the service that sent it; publishing a key on its own doesn't sign anything.

How often should DKIM keys be rotated?

The DKIM standard doesn't set a schedule. Rotate when a key may have been exposed, when you change provider, and on whatever regular cycle your own security policy sets. With a CNAME-based setup, the service can rotate without any DNS change on your side.

See also

A valid key only helps DMARC if the signing domain matches your From address; the health check tests DKIM and DMARC side by side.

Guide: DKIM keys and selectors.