Free DKIM analyzer: check, validate, and inspect DKIM DNS records
DKIM (DomainKeys Identified Mail, defined in RFC 6376) is an email authentication protocol that lets a domain owner cryptographically sign outgoing messages. When your mail server sends an email, it attaches a digital signature in the DKIM-Signature header using a private key. Receiving mail servers retrieve the corresponding public key from DNS, the DKIM TXT record stored at selector._domainkey.yourdomain.com, and verify the signature. A valid signature confirms the message was not altered in transit and genuinely originated from an authorised source for the signing domain. Unlike SPF, DKIM signatures survive email forwarding because they are embedded in the message headers rather than tied to the sending server's IP address, making DKIM the more reliable alignment mechanism when combined with DMARC.
A DKIM record is stored under a specific selector subdomain. The selector is a label chosen by the domain owner that namespaces the key. A domain can have multiple DKIM keys active simultaneously, one per selector. This allows different email service providers (Google Workspace, SendGrid, Mailchimp, Salesforce) to each use a distinct key, and enables key rotation without disrupting delivery. Common selector names include google, selector1, selector2, mail, k1, and k2. If you do not know your selector, use the Bulk Scan mode to check 20 common names automatically.
This DKIM analyzer queries your domain's record in real time using Cloudflare DNS-over-HTTPS (with Google DoH fallback) and decodes every tag. It estimates RSA key bit-strength from the base64-encoded p= key length: anything under 1024 bits fails at many providers, 1024-2047 is valid but aging, and 2048+ is the current recommendation. Ed25519 keys are detected and treated as secure regardless of size. The analyzer also flags revoked keys (empty p= tag) and test mode configurations (t=y flag) that must be removed before production use.
Why verifying your DKIM record protects deliverability, alignment, and domain trust
DKIM serves two distinct purposes that are often conflated. The first is message integrity. The cryptographic signature proves the email body and specified headers were not modified between the sending server and the recipient. The second, and more practically critical for most domain owners, is DMARC alignment. Under a DMARC policy, a message passes only if either SPF or DKIM aligns with the visible From: header domain. For organisations using email service providers, Mailchimp, SendGrid, HubSpot, Klaviyo, Zendesk, the Return-Path address is almost always the ESP's own domain, which means SPF alignment fails. DKIM alignment is the primary mechanism that keeps DMARC passing in these configurations.
This means a broken, revoked, or missing DKIM record is not just a theoretical concern. Under a DMARC enforcement policy of p=quarantine or p=reject, it directly causes legitimate email to be filtered or rejected. The failure is often silent: from the sender's perspective the message appears to send normally, but DMARC aggregate reports show a spike in failures from that sending source. Regularly checking DKIM with this analyzer catches these issues before they become delivery incidents.
Key strength is a second area where neglect has real consequences. RSA-1024 keys, common in setups configured five or more years ago, are now flagged as insecure by Google and Microsoft. If your analyzer result shows a 1024-bit key, plan a rotation to 2048-bit RSA or Ed25519 at your next maintenance window. The rotation process is non-disruptive: publish the new selector, let DNS propagate, switch signing to the new key, then revoke the old one. All without any gap in delivery.
For domains targeting the Google and Yahoo 2024 bulk sender requirements, DKIM is mandatory. Senders of more than 5,000 daily messages to Gmail must have valid DKIM signing in place. Even below that threshold, missing DKIM is one of the strongest negative signals spam filters use to classify email from unknown senders.
Common DKIM problems and how to fix them
Most DKIM failures trace to one of a small number of root causes. Here is what each means and how to resolve it.
Real DKIM records decoded: what the analyzer finds in each case
Six configurations covering the most common patterns seen in production deployments.
DKIM analyzer questions and answers
Answers to the most common questions about DKIM records, selectors, key strength, alignment, and setup for Google Workspace and Microsoft 365.
DKIM in the email authentication stack: how it works with SPF and DMARC
DKIM does not operate in isolation. It is the signature layer in a three-part authentication stack, and understanding where each standard begins and ends is essential for diagnosing failures and configuring authentication from scratch.
SPF (Sender Policy Framework) answers the question: is this IP address authorised to send email for this domain? It validates the SMTP envelope sender, the hidden MAIL FROM address used during the server handshake, not the visible From: header. SPF breaks for forwarded email and for any sender using an ESP that sends via their own mail infrastructure. Use the SPF Record Checker to verify your SPF record is valid and within the 10-lookup limit. If your record has too many include: chains, the SPF Flattening Tool resolves them to direct IP ranges.
DKIM (DomainKeys Identified Mail) answers a different question: was this message signed by the domain that claims to have sent it, and has it been altered since signing? The signature is tied to the d= domain in the DKIM-Signature header, a domain you control, so it is unaffected by the sending server's IP or the ESP's Return-Path address. This is why DKIM alignment is more reliable than SPF alignment for third-party sending platforms, and why it is the primary mechanism that keeps DMARC passing when SPF alignment is structurally unavailable.
DMARC (Domain-based Message Authentication, Reporting, and Conformance) is the policy layer. It requires at least one of SPF or DKIM to pass with alignment to the visible From: header, and defines what to do when neither does: none (monitor), quarantine (spam folder), or reject (block delivery). It also enables daily aggregate reports showing pass/fail rates from all sending sources. The most practical way to catch DKIM issues early. Check your current DMARC enforcement level with the DMARC Checker, or get a full tag-by-tag breakdown with the DMARC Analyzer.
The recommended deployment sequence is: (1) set up SPF covering all sending sources, (2) enable DKIM signing via all email providers, (3) publish DMARC at p=none with rua= configured, (4) review aggregate reports for 2-4 weeks, (5) advance to p=quarantine then p=reject once all sources are passing. DKIM is step two. Getting it right before advancing DMARC policy is what makes enforcement safe.
Need a disposable address right now? Generate a free, instant throwaway email. Zero signup, zero trace.
Get Free Temp Mail