DKIM Record Checker

Check the DKIM records for a domain. Leave the selector empty and the tool tries the common ones for Google, Microsoft 365, Mailchimp, SendGrid and others, or enter your own selector.

No account needed. Reads public DNS only, live. Nothing you check is saved.

How to use this tool

  1. Enter the domain. Add a selector if you know it, it is the s= value in the DKIM-Signature header of a sent mail.
  2. The tool shows each selector it found, the key type and the key size.
  3. Warnings for 1024-bit keys are not urgent, but rotate to 2048-bit when you can.

Where the selector comes from

DKIM records live at selector._domainkey.yourdomain.com. There is no list of selectors in DNS, so a checker has to know the name or guess it. Google uses google, Microsoft 365 uses selector1 and selector2, many others use k1 or s1.

Fastest way to be sure: open a mail you sent, show the original headers, and find s= inside DKIM-Signature.

Microsoft 365: selector1 or selector2 not found

In Microsoft 365, DKIM uses two CNAME records: selector1._domainkey and selector2._domainkey, pointing at your onmicrosoft.com tenant. The admin center gives you the exact values. Until both exist and signing is turned on, Microsoft signs with the onmicrosoft.com domain, which does not align for DMARC.

Only selector2 missing? It is normal right after setup or a key rotation, Microsoft fills it later. Rotation can take a few days to show.

CNAMEs exist but the checker finds no key: signing is not enabled yet. Turn it on in the Defender portal under Email authentication, DKIM.

DKIM check guide: selectors, keys and failures

How to check a DKIM record for a domain

DKIM is not one record per domain. Each service that sends mail for you has its own key, stored at selector._domainkey.yourdomain.com. To check DKIM you need the domain and the selector. Type the domain above, add the selector if you know it, and the tool reads the TXT or CNAME record live.

Prefer the terminal? dig TXT selector1._domainkey.example.com +short on Linux or Mac. On Windows, how to check a DKIM record using nslookup: nslookup -q=TXT selector1._domainkey.example.com. Same data, the tool just explains it.

DKIM checker without a selector

There is no DNS query that lists all selectors of a domain, so a DKIM checker without a selector has to guess. Ours tries the common ones: google, selector1, selector2, k1, s1, default, mail and the names used by big mail services. That finds most setups.

To check all selectors for sure, look at real mail. Every service you use shows its selector in the headers of mail it sends.

How to find your DKIM selector from an email header

Open a mail you sent, show the original (Gmail: three dots, Show original. Outlook: File, Properties). Find the DKIM-Signature line. The s= value is the selector name, the d= value is the signing domain. Put both in the checker.

Several DKIM-Signature lines? Each one is a different signer, often your provider plus a relay. The one where d= is your own domain is the one that counts for DMARC.

DKIM selector names: examples and best practices

A DKIM selector name is any label you like: letters, digits and hyphens. Common examples: google for Google Workspace, selector1 and selector2 for Microsoft 365, k1 for Mailchimp, s1 and s2 for SendGrid, zmail for Zoho.

Best practice when you pick one yourself: include a date or number, like 2026a, so you can rotate keys by adding a new selector before you remove the old one. Never reuse one selector across two services.

Check DKIM in Microsoft 365 (Office 365)

For DKIM in Office 365 you publish two CNAME records, selector1._domainkey and selector2._domainkey, that point to your tenant at onmicrosoft.com. The DKIM CNAME check in this tool follows the CNAME and shows the key at the end.

Check DKIM in M365 after you publish: the records exist, then in the Defender portal turn on signing for the domain. Until you do, Microsoft signs with the onmicrosoft.com domain, which passes DKIM but fails DMARC alignment.

Check DKIM for Google Workspace and Gmail

In Google Workspace, generate the key in the Admin console under Apps, Gmail, Authenticate email. Publish the TXT record at google._domainkey, wait an hour, then click Start authentication. Only after that does Gmail sign your mail.

To verify DKIM in Gmail as a receiver, open a received mail, Show original, and look at the DKIM line at the top: PASS with your domain is what you want.

DKIM key size: 1024 vs 2048 bit

Check the DKIM key size in the results. 2048-bit is the current standard. 1024-bit still passes everywhere, but it is weak by today’s rules, so plan to rotate. Some DNS panels can not store a 2048-bit key in one TXT string; split it into several quoted strings in the same record, DNS joins them.

If the checker says the DKIM public key is invalid, the usual cause is a broken copy and paste: a missing p=, an extra space or line break inside the key, or quotes around the whole thing in a panel that adds its own.

Why DKIM check failed (and dkim verification failed errors)

No key found: wrong selector, record at the wrong name (some panels add your domain twice, so you get selector._domainkey.example.com.example.com), or not propagated yet.

Body hash did not verify: something changed the message after signing, a footer, disclaimer or mailing list. Signature did not verify: the key in DNS does not match the private key the server uses, usually after a rotation where DNS was not updated.

Pass, but DMARC fails: DKIM passed for a different domain than the From address. That is a DKIM alignment problem, fix it by signing with your own domain.

DKIM alignment check

DMARC needs DKIM to pass and to align: the d= domain must match the From domain (relaxed mode allows a subdomain). A newsletter tool that signs with its own domain gives DKIM pass but no alignment. Set up custom DKIM in that tool so it signs as you.

How to test DKIM by sending an email

Send a mail from the service to a Gmail address and open Show original. You will see SPF, DKIM and DMARC results in one place. Do this for every service that sends as your domain, not only your main mailbox. Then paste the headers into the email header analyzer for the full picture.

DKIM key rotation

Rotate keys every 6 to 12 months, and right away if a key may have leaked. Publish the new selector, switch signing to it, wait a few days so mail in transit still verifies, then remove the old record. Microsoft 365 does this with its two selectors, you just press rotate.

Frequently asked questions

Microsoft 365 DKIM not found

Microsoft does not turn DKIM on by default for custom domains. Publish the two CNAME records it gives you, then enable signing in the Defender portal.

Record found but mail fails DKIM

Often the body changed after signing, a footer or disclaimer added by a gateway. See body hash did not verify in your headers. Use the email header analyzer.

Do I need more than one selector?

One per sending service. Your CRM, newsletter tool and main mailbox each sign with their own.

Related tools