DKIM Analyzer

DKIM Record Checker

Verify your domain's DKIM record. Validate digital signatures and confirm your email authentication is set up correctly.

Leave the selector empty to try 28 common selectors.

What Is a DKIM Record?

DomainKeys Identified Mail (DKIM) is an email authentication method. It lets receiving servers verify your message came from your domain and was not modified in transit. DKIM adds a digital signature to every outgoing email. The receiving server checks this signature against a public key published in your DNS.

A DKIM record is a TXT record stored in your DNS at selector._domainkey.yourdomain.com. It contains your public key and configuration tags. When someone receives an email from your domain, their server retrieves this record to validate the signature. If the signature matches, the email is authenticated. If it does not match, the email may be rejected or sent to spam.

DKIM works alongside SPF and DMARC. SPF specifies which servers are allowed to send from your domain. DKIM proves your message was not tampered with. DMARC tells receivers what to do when either check fails. Together they form a complete email authentication system.

How Does DKIM Work?

DKIM uses asymmetric cryptography with two keys. Your email server holds a private key. Your DNS holds the matching public key. When you send an email, your server signs selected headers and the body using the private key. The signature is added to the email header as a DKIM-Signature field.

The DKIM-Signature header contains several tags. The s= tag specifies the selector. The d= tag identifies the signing domain. The b= tag holds the signature itself. The bh= tag contains the body hash. Together these tags tell the receiving server exactly how to verify the message.

On the receiving side, the mail server extracts the selector and domain from the signature header. It queries DNS for the TXT record at selector._domainkey.domain.com. The server retrieves the public key, computes the hash of the incoming message body and headers, and verifies the signature. If everything matches, the email passes DKIM authentication. If verification fails, the email is flagged or rejected based on your DMARC policy.

DKIM Tag Reference

TagDescription
vVersion of the DKIM record. Must be DKIM1. Missing this tag causes receivers to ignore the record.
pPublic key used to verify the digital signature. This is the core of DKIM. Without a valid p tag, email authentication fails.
tFlags. t=y means the domain is testing DKIM, and receivers treat signed mail like unsigned mail. t=s means the i= domain in signatures must exactly match d=. Remove t=y once your setup is stable.
sService type. * (the default) allows all services. email limits the key to email.
hHash algorithms this key may be used with. Omit it to allow all. Use sha256. RFC 8301 says sha1 must not be used.
kKey type. The default value is rsa. Ed25519 (RFC 8463) is also defined, but not every receiver supports it yet.
nNotes for the human reader. This tag has no effect on DKIM validation. Use it to document the record purpose.

Why Check Your DKIM Record?

A missing or broken DKIM record damages your email deliverability. Major email providers like Gmail and Outlook check DKIM before accepting your messages. If your record is absent or misconfigured, your emails land in spam folders or get rejected outright.

Key rotation is another reason to check. Email security best practices recommend rotating your DKIM keys periodically. After rotation, you need to confirm the new public key is published and the old record is removed. A DKIM lookup catches mismatched or stale keys before they cause problems.

Switching email service providers often changes your selector or key. If you migrate from one provider to another without updating DNS, your DKIM signatures fail. Regular checks ensure your DNS records match your current email infrastructure.

A DKIM check also reveals syntax errors. A misplaced character or an incomplete public key invalidates the entire record. The lookup tool parses your record and flags configuration mistakes so you fix them fast.

FAQ

DKIM Frequently Asked Questions

Start your 14-day free trial

The persistent risks to corporate emails are spear phishing and email spoofing. Monitor, identify and mitigate them with DMARC+ Solution.

Start Your 14-Day Trial Now