Free DKIM lookup

DKIM Record Checker

Check whether your domain publishes a valid DKIM key. Leave the selector empty to try the 17 most common ones, or enter your own.

Free, no sign-up. We only read public DNS records and do not keep what you check.

Result look wrong, or not sure what to change? A GoProIT technician can check it with you over a secure remote session. $59 per fix, Monday to Friday 8am to 8pm Eastern.

Book a technician(844) 734-1288

What DKIM does

DKIM (DomainKeys Identified Mail) adds a digital signature to every email you send. Your email provider signs the message with a private key, and publishes the matching public key in DNS. Receivers use that public key to confirm the message really came from your domain and wasn’t changed on the way.

How to find your DKIM selector

The public key lives at selector._domainkey.yourdomain.com, and the selector can be any name. To find yours, open an email you sent, view the original message or headers, and find the DKIM-Signature line. The value after s= is the selector, and d= is the signing domain.

ProviderUsual selectorHow it’s published
Microsoft 365selector1 and selector2Two CNAME records pointing to keys Microsoft hosts and rotates. Signing must be turned on in the Microsoft Defender portal.
Google WorkspacegoogleA TXT record you copy from the Admin console, then click Start authentication.
Hostinger, Zoho, mailing servicesVariesShown in each provider’s DNS or domain settings.

What the results mean

  • 2048-bit RSA key: the recommended size today.
  • 1024-bit key: still accepted, but rotate to 2048-bit when you can.
  • Under 1024 bits: treated as invalid by Gmail and others.
  • Empty p= tag: the key has been revoked. Mail signed with this selector fails DKIM.
  • Nothing found: DKIM isn’t set up on that selector. On Microsoft 365, unsigned custom-domain mail is signed with the onmicrosoft.com domain instead, which doesn’t help DMARC.

How to read a DKIM record

When the DKIM checker finds a key, it shows the TXT record published at selector._domainkey.yourcompany.com. A typical one looks like this, with the key shortened:

v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA...

  • v=DKIM1 is the version. It’s optional, but if present it must come first.
  • k=rsa is the key type. RSA is what nearly every provider uses.
  • p= is the public key itself, a long block of letters and numbers. The checker works out its length (1024 or 2048 bits) from this value.
  • t=y, if you see it, means the domain is in testing mode. Some receivers treat failures more gently. Remove it once DKIM works.

On Microsoft 365, the record at your domain is a CNAME, not a TXT record. It points to a key Microsoft hosts for your tenant, so Microsoft can rotate it without you touching DNS. The checker follows the CNAME and shows the key at the other end. The exact target name format has changed for newer tenants, so always copy the values the Defender portal shows you rather than a guide’s example.

Check DKIM on a real email, not just in DNS

A DKIM record check proves the key is published. It doesn’t prove your mail is being signed with it. To confirm that, look at a message you sent.

  1. Send an email from your work account to a personal Gmail address.
  2. Open it in Gmail, click the three-dot menu and choose Show original.
  3. Find the DKIM line. You want PASS with your own domain next to it.
  4. Scroll down to the DKIM-Signature: header. Note the d= (domain) and s= (selector) values, then check that selector here.

In the Authentication-Results: header, a good result reads like dkim=pass header.d=yourcompany.com header.s=selector1. If header.d= shows yourtenant.onmicrosoft.com or a mailing service’s domain, the message is signed, but not in a way that helps your DMARC. The email header analyzer picks these values out of a pasted header for you.

Common DKIM errors and what causes them

Error in the headerUsual causeFix
dkim=noneThe message wasn’t signed at all.Turn on DKIM signing at the provider that sent it.
“no key for signature” or “key not found”The DNS record is missing, or published under a different selector than the one in the signature.Check the s= selector here and add the record exactly as the provider shows it.
“body hash did not verify”Something changed the message after it was signed: a disclaimer added by a mail gateway, a mailing list footer, or a forwarding service rewriting the body.Have the gateway add footers before signing, or sign after it. Forwarded mail failing this way is normal.
“signature verification failed”The public key in DNS doesn’t match the private key signing the mail, often after a key was regenerated but DNS wasn’t updated.Publish the current key, or regenerate under a new selector.
Key looks cut shortThe DNS host truncated a long 2048-bit value, or split it badly.Paste the key again. Most modern DNS hosts split long values into strings automatically.

A Cloudflare gotcha

If your DNS is at Cloudflare and DKIM uses CNAME records (Microsoft 365, SendGrid, Mailchimp and others do), set each of those CNAMEs to DNS only, with the grey cloud. A proxied record returns Cloudflare’s addresses instead of pointing to the key, and the DKIM check fails.

How to turn on DKIM in Google Workspace

  1. Sign in to the Google Admin console as a super admin.
  2. Go to Apps, Google Workspace, Gmail, then Authenticate email.
  3. Select your domain and click Generate new record. Choose a 2048-bit key and keep the default prefix, google, unless you already use it.
  4. Copy the TXT record name (google._domainkey) and value, and add them at your DNS host.
  5. Wait for the record to appear. That’s often under an hour, but Google allows up to 48 hours.
  6. Go back to the same page and click Start authentication. Signing doesn’t begin until you do this step.

Then check the google selector here and send a test message to confirm it passes.

DKIM for your other sending tools

Every service that sends mail as your domain needs its own DKIM setup, with its own selector. Your Microsoft 365 or Google key doesn’t cover a newsletter tool or an invoicing app.

Look in each tool’s settings for “domain authentication”, “sender authentication” or “verify domain”. They’ll give you one to three records to add. A few examples of the selectors you’ll then see:

  • Mailchimp: k2 and k3, as CNAME records.
  • SendGrid: s1 and s2, as CNAME records.
  • Microsoft 365: selector1 and selector2.

A domain can have as many DKIM selectors as it needs, so adding one never breaks another. Once each sender is signing with your domain, your DMARC policy can be tightened safely. Use the DMARC checker to see where your policy stands. If a sender still won’t pass, a technician can set it up with you over a remote session for $59.

Frequently asked questions

Why does the checker say no DKIM key was found when my email is signed?

Your provider probably uses a selector that isn’t in our list of common ones. Find the s= value in the DKIM-Signature header of a sent email and enter it in the selector box.

How do I turn on DKIM in Microsoft 365?

In the Microsoft Defender portal, go to Email and collaboration, Policies and rules, Threat policies, Email authentication settings, DKIM. Select your domain, publish the two CNAME records it shows at your DNS host, then switch signing on.

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

Use 2048-bit. Some older DNS hosts can’t store the longer TXT value in one field, which is why 1024-bit keys are still around. Microsoft 365 lets you rotate to 2048-bit from the DKIM settings page.

Do I need DKIM if I already have SPF?

Yes. SPF breaks when mail is forwarded, while a DKIM signature survives forwarding. DMARC needs at least one of them to pass and match your domain, and having both makes your mail far more reliable.

Can a domain have more than one DKIM record?

Yes. Each record sits under a different selector, so Microsoft 365, a newsletter tool and a help desk app can all have their own keys on the same domain. What you can’t have is two different keys under the same selector name.

How long does DKIM take to start working?

Once the DNS record is visible, signing starts as soon as you turn it on at the provider. Google Workspace says to allow up to 48 hours for the record to be found. Microsoft 365 may show an error when you switch signing on until the CNAME records can be seen.

Does Gmail require DKIM?

Gmail requires every sender to pass SPF or DKIM, and bulk senders (more than 5,000 messages a day to Gmail) to have both, plus DMARC. Even below that level, DKIM is what makes your mail pass DMARC reliably, because it survives forwarding when SPF doesn’t.

What does a DKIM key rotation do?

It replaces the signing key with a new one, so an old key that might have leaked stops being useful. Microsoft 365 has a rotate option on the DKIM settings page and handles the DNS side through its two selectors. On Google Workspace, you generate a new record with a different prefix, publish it, then switch.

Related guides

DKIM not signing?We turn on and verify DKIM for Microsoft 365, Google Workspace and your mailing tools.
Get help from a technician

More free tools

See all 30 free IT tools

Free tools find it. We fix it.

Want a technician to sort it out for you?

One-time remote fix for $59, or unlimited help for your whole team at $49 per user per month. No contract and no setup fee.

WhatsApp us(202) 960-2022 · messages