Skip to main content
Protect your domain reputation today
SimpleDMARC

Free DKIM Record Checker

Verify your DKIM keys and selector configuration to ensure email integrity.

What Is DKIM and Why Does It Matter?

DomainKeys Identified Mail (DKIM) is an email authentication standard that uses public-key cryptography to verify that an email message was sent by the domain it claims to be from and that the message content was not altered in transit. When an email is sent, the sending server creates a digital signature using a private key and adds it to the email header. The receiving server then retrieves the corresponding public key from DNS (using the selector specified in the DKIM-Signature header) and verifies the signature. If the signature validates, DKIM passes. A valid DKIM signature is one of the two pathways to DMARC alignment, making it essential for email authentication enforcement.

What Our DKIM Checker Validates

Enter your domain and DKIM selector, and our tool performs a DNS lookup for the TXT record at selector._domainkey.yourdomain.com. It validates the public key format (RSA or Ed25519), key length (flagging 1024-bit keys as weak and recommending 2048-bit as the minimum standard), required tags (v=DKIM1, k=, p=), and optional tags (t=, h=, s=). The tool specifically detects truncated keys — a common issue when DNS providers split long TXT records incorrectly — and keys that fail base64 decoding due to formatting errors or copy-paste corruption.

Common DKIM Issues and How to Fix Them

The most frequent DKIM failure is a truncated or incorrectly split public key. DNS TXT records have a 255-character string limit per segment, and the key must be split across multiple segments enclosed in double quotes. If your DNS host does not handle this correctly, the key appears malformed to receiving servers. Other common issues include: using a revoked or rotated selector where the old key has been removed but sending infrastructure still references it, weak 512-bit or 768-bit keys that some receivers reject outright, and missing or empty p= tags (which indicate a revoked key). Our checker identifies all of these with clear remediation steps.

DKIM Key Rotation Best Practices

Key rotation is a critical but often neglected security practice. If a DKIM private key is compromised, an attacker can sign emails that pass DKIM authentication for your domain. By rotating keys periodically (at least annually), you limit the exposure window. The rotation process involves generating a new key pair, publishing the new selector in DNS, updating your sending infrastructure to sign with the new key, confirming the new selector resolves correctly with this checker, and then removing the old selector from DNS. Use our DKIM Generator to create new key pairs for rotation.

Tag Reference

The following tags/parameters are checked or generated by this tool:

Tag

Description

v=DKIM1

DKIM version tag. Recommended but technically optional. Identifies the record as a DKIM key.

k=rsa

Key type. RSA is the most widely supported. Ed25519 is supported by some newer implementations.

p=

Public key data encoded in base64. A missing or empty p= tag indicates the key has been revoked.

t=y

Testing flag. Indicates the domain is testing DKIM and receivers should not treat failures differently.

t=s

Strict mode. The signing domain (d=) must exactly match the From header domain. No subdomain matching.

h=sha256

Hash algorithm. SHA-256 is the current standard. SHA-1 is deprecated and should be avoided.

s=email

Service type restriction. Limits this key to email use only (default is * for all services).

Frequently Asked Questions

What is DKIM?
DKIM (DomainKeys Identified Mail) is an email authentication method that allows the receiver to check that an email claimed to have come from a specific domain was indeed authorized by the owner of that domain.
What is a DKIM selector?
A selector is a string used to point to a specific DKIM public key record in your DNS. You can have multiple selectors for different mail streams.
How do I find my selector?
Check the DKIM-Signature header in a received email from your domain. The s= tag contains the selector name. Common selectors include: google, selector1/selector2 (Microsoft), k1 (Mailchimp), and s1/s2 (custom).
What key length should I use?
Use 2048-bit RSA keys as the minimum standard. Some organizations use 4096-bit for additional security, though not all DNS providers support the larger TXT records. 1024-bit keys are considered weak and should be upgraded.
Can a domain have multiple DKIM selectors?
Yes. Each email service you use (primary mail, marketing, transactional) can have its own selector and key pair. This is the recommended approach — it allows independent key management per service.
Why does my DKIM check show 'key not found'?
This means no TXT record exists at the selector._domainkey.yourdomain.com path. Verify the selector name is correct, check that the DNS record is published, and allow time for propagation if recently added.
What does a revoked key look like?
A revoked DKIM key has an empty p= tag (p=). This intentionally invalidates the selector, telling receiving servers that signatures using this selector should no longer be trusted.
Free DKIM Record Checker & Lookup | Verify DKIM Keys | SimpleDMARC