DKIM Checker: Find and Validate Your DKIM Record
Enter a domain and, if you know it, the DKIM selector. Leave the selector empty and mailX tries the most common ones, follows CNAMEs and shows every public key it finds.
Results
- Free DKIM lookup
- Selector optional
- No signup required
What does this DKIM checker do?
Find the key, read it and tell you whether receivers can use it.
Selector discovery
Without a selector, mailX tests a list of common selectors such as google, selector1, selector2, default, k1, s1, s2, dkim and mail.
CNAME following
Microsoft 365, SendGrid and many platforms publish DKIM through CNAMEs. The checker follows them to the actual key.
Every key found
When several selectors are published, you see each one with its record, not only the first.
Public key check
A DKIM record needs a p= tag with the public key. A missing p= makes the record invalid. An empty p= means the key was revoked, and receivers treat the signature as invalid.
Custom selector support
If your provider uses its own selector, enter it in the selector field to check that exact record.
Clear next step
Each result explains what to fix: generate a key, publish it, or find the selector your provider really uses.
How to check DKIM for your domain
Five steps to confirm that your emails can be signed and verified.
Enter your domain
Use the domain in your From address, or the subdomain your email platform signs with.
Add the selector if you know it
Google Workspace uses google by default, Microsoft 365 uses selector1 and selector2. Otherwise leave it empty.
Run the check
mailX queries selector._domainkey.yourdomain.com for each selector, follows CNAMEs and reads the key.
Check each sending service
Every service that sends as your domain needs its own DKIM key: your mailbox provider, your newsletter tool, your CRM...
If nothing is found, find the real selector
Open an email you sent, show the original message and look for s= in the DKIM-Signature header. Check again with that selector.
What is DKIM and what is a selector?
DKIM (DomainKeys Identified Mail) adds a cryptographic signature to each email you send. The sending server signs with a private key, and the receiving server checks the signature with the public key you publish in DNS. If the message was changed in transit, or the key is missing, DKIM fails.
The selector tells receivers where to find the public key: the record lives at selector._domainkey.yourdomain.com. A domain can have many selectors, usually one per sending service, so you can rotate keys or add a platform without touching the others.
For DMARC, DKIM is often the most reliable way to pass: the d= domain in the signature must align with your From domain (the same domain, or the same parent domain with relaxed alignment). That is why every platform that sends as your domain should sign with your domain, not its own.
Where a DKIM key lives:
Microsoft 365 publishes it through a CNAME:
(domains added before May 2025 point to ...example.onmicrosoft.com)
The selector in an email header:
Related mailX tools
DKIM works best with SPF and DMARC.
Common DKIM selectors by provider
Defaults change with each platform and sometimes with each account. When in doubt, read the s= tag of a real email you sent through that service.
Selectors you will often see:
Microsoft 365: selector1 and selector2 (CNAME records)
Mailchimp: k2 and k3 (CNAME records; older setups used k1)
SendGrid: s1 and s2 (CNAME records)
Many hosting providers and cPanel: default
Selectors the checker cannot guess:
Platforms that create a selector per account or per date
Any custom selector you chose yourself
Why DKIM fails
The usual causes behind a missing or failing DKIM result.
DKIM never set up
Many providers do not sign with your domain until you enable DKIM. In Google Workspace, generate the key in the Admin console, publish it, then click Start authentication.
Custom selector
No record under common selectors does not mean DKIM is missing. Find the real selector in the DKIM-Signature header and check again.
Revoked or empty key
A record with an empty p= tag means the key was revoked. Publish the current key from your provider.
Key split or truncated
2048-bit keys are longer than 255 characters. Some DNS hosts split them badly or cut them. Paste the full key and let the host split it.
CNAME proxied
On Cloudflare, a proxied DKIM CNAME returns IP addresses instead of the key. Set DKIM CNAMEs to DNS only.
Message modified in transit
Mailing lists, forwarding and security gateways can change the message after signing, which breaks the signature even with a correct key.
DKIM guides
Understand and fix what this checker finds.
What Is a DKIM Record?
How a DKIM record works, what the selector is and how receivers use the public key to verify your emails.
Fix DKIM Authentication Failed
Why DKIM fails (missing key, wrong selector, modified message) and how to fix each case.
DKIM for Google Workspace, Step by Step
Generate your Google Workspace DKIM key, publish it in DNS and start signing.
How to look up a DKIM record from the command line
If you know the selector, you can query the record yourself. Replace google with your selector and example.com with your domain.
macOS and Linux (dig):
Windows (Command Prompt):
Windows (PowerShell):
Reading your DKIM checker results
What each result means and what to do next.
Valid DKIM record
A public key is published for this selector. Make sure every other service that sends as your domain has its own key.
No record under common selectors
DKIM may still exist with a custom selector. Find s= in the DKIM-Signature header of a sent email and check again with it.
Invalid or empty key
The record has a missing or empty p= tag. Publish the current key from your email provider.
DKIM found. Is the rest of your authentication right?
Check SPF, DKIM and DMARC together and see whether they align with your domain, in one free test.