A DKIM lookup retrieves the DomainKeys Identified Mail (DKIM) public key record published in DNS for a given domain and selector. DKIM is a cryptographic email authentication standard that lets receiving mail servers verify that an email was actually sent by the claimed domain and was not tampered with in transit. Without a valid DKIM record, your emails are more likely to fail authentication checks and land in spam folders.
When your mail server sends an email, it signs the message with a private key and adds a DKIM-Signature header. The receiving mail server then performs a DKIM lookup to fetch your public key from DNS and uses it to verify the signature. If the signature matches, the message is DKIM-authenticated. DKIM works in combination with SPF and DMARC to form a complete email authentication stack.
DKIM records are published as TXT records at a specific subdomain in the format: selector._domainkey.example.com. The selector is chosen by the email service and allows domains to use multiple DKIM keys simultaneously — one per email sending service. Common selectors include google, default, mail, s1, and s2.
Use this tool to verify that your DKIM record is correctly published, that the key is present and valid, and to inspect the key type, bit length, and flags. This is especially useful after setting up a new email provider or rotating DKIM keys.
How to Use the DKIM Lookup Tool
- 1
Enter the domain name
Type the sending domain — for example, example.com. This is the domain in the d= tag of the DKIM-Signature header in outgoing emails.
- 2
Enter the DKIM selector
Enter the selector provided by your email service. Common selectors are: google (Google Workspace), selector1 and selector2 (Microsoft 365), default, mail, s1, s2. Check your email provider's setup guide if you are unsure.
- 3
Click Lookup
The tool queries the DNS TXT record at selector._domainkey.domain and displays the DKIM public key record. Results appear within seconds.
- 4
Verify the record
Confirm the record contains v=DKIM1, p= (the public key), and optionally k=rsa (key type) and t=s (flags). An empty or missing p= value means the key has been revoked.
Understanding DKIM Record Results
| Field | Description |
|---|---|
| v=DKIM1 | Version tag. Must be the first element in the record — identifies this TXT record as a DKIM public key. |
| k= | Key type. rsa is the most common; ed25519 offers smaller keys and better performance on modern systems. |
| p= | Base64-encoded public key. This is the cryptographic key receiving servers use to verify DKIM signatures. Empty p= means the key is revoked. |
| t= | Flags. t=s restricts the key to the exact domain (no subdomain signing). t=y means testing mode — failures are not enforced. |
| h= | Acceptable hash algorithms, e.g. h=sha256. If omitted, all algorithms are allowed. |
| n= | Human-readable notes about the key — for documentation purposes only, not used in DKIM validation. |
Common DKIM Lookup Use Cases
Verify DKIM record after email provider setup
After publishing the DKIM TXT record provided by your email service (Google Workspace, Microsoft 365, Mailgun, SendGrid, etc.), use DKIM lookup to confirm it is live in DNS before enabling DKIM signing in your mail provider's settings.
Troubleshoot DKIM failures in email headers
If received emails show dkim=fail or dkim=none in their Authentication-Results header, look up the selector and domain from the DKIM-Signature header to check whether the public key is published and matches what the sending server used.
Audit DKIM keys across multiple selectors
Domains that send email from multiple providers (marketing platform, CRM, transactional email, corporate mail) have multiple DKIM selectors. Use DKIM lookup to verify each selector is correctly published and none have expired or revoked keys.
Verify DKIM key rotation
After rotating DKIM keys — for example, after a security incident or periodic key refresh — look up both the old and new selectors to confirm the new key is published and the old one is revoked (p= empty or record removed).
DKIM Lookup — Frequently Asked Questions
What is DKIM?
How do I find my DKIM selector?
What is a DKIM selector?
Why does my DKIM lookup return no record?
What does an empty p= value mean in DKIM?
Is DKIM required for email to work?
What is the difference between DKIM and SPF?
How often should DKIM keys be rotated?
What is the difference between RSA and Ed25519 DKIM keys?
Can I use DKIM without DMARC?
Related Tools
SPF Lookup
Verify the SPF record that authorises your mail servers alongside DKIM signing.
DMARC Lookup
Check the DMARC policy that ties together SPF and DKIM authentication results.
MX Lookup
Confirm the mail servers for the domain you are checking DKIM on.
DNS Lookup
Query all TXT records for the domain to inspect the full DNS configuration.