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-1288What 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.
| Provider | Usual selector | How it’s published |
|---|---|---|
| Microsoft 365 | selector1 and selector2 | Two CNAME records pointing to keys Microsoft hosts and rotates. Signing must be turned on in the Microsoft Defender portal. |
| Google Workspace | google | A TXT record you copy from the Admin console, then click Start authentication. |
| Hostinger, Zoho, mailing services | Varies | Shown 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=DKIM1is the version. It’s optional, but if present it must come first.k=rsais 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.
- Send an email from your work account to a personal Gmail address.
- Open it in Gmail, click the three-dot menu and choose Show original.
- Find the DKIM line. You want PASS with your own domain next to it.
- Scroll down to the
DKIM-Signature:header. Note thed=(domain) ands=(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 header | Usual cause | Fix |
|---|---|---|
dkim=none | The 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 short | The 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
- Sign in to the Google Admin console as a super admin.
- Go to Apps, Google Workspace, Gmail, then Authenticate email.
- Select your domain and click Generate new record. Choose a 2048-bit key and keep the default prefix,
google, unless you already use it. - Copy the TXT record name (
google._domainkey) and value, and add them at your DNS host. - Wait for the record to appear. That’s often under an hour, but Google allows up to 48 hours.
- 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:
k2andk3, as CNAME records. - SendGrid:
s1ands2, as CNAME records. - Microsoft 365:
selector1andselector2.
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
- How to set up DMARC
- How to set up an SPF record
- Email authentication failed: causes and fixes
- Fix Gmail error 550 5.7.26
Get help from a technician
More free tools
Email & domainEmail Domain Health CheckOne check for MX, SPF, DKIM, DMARC and blocklists, with a score out of 100 and a fix list.Open tool
Email & domainMX Record LookupSee which mail servers receive email for a domain, their priority, IPs and provider.Open tool
Email & domainSPF Record Checker & GeneratorValidate your SPF record, count the 10-lookup limit and build a new record.Open tool
Email & domainDMARC Checker & Record GeneratorCheck your DMARC policy and reports, and generate a DMARC record.Open tool
Email & domainEmail Blacklist CheckCheck a mail server IP or domain against 14 email blocklists.Open tool
Email & domainFree Email Signature GeneratorBuild a clean HTML signature and paste it into Outlook, Gmail or Apple Mail.Open tool
Email & domainEmail Header AnalyzerPaste email headers to see authentication results, spam verdicts and delivery delays.Open tool
DNS & websiteDNS LookupSee every DNS record for a domain or hostname: A, MX, TXT, CNAME, NS and more.Open tool 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.