DKIM Check

Check DKIM public keys for any domain + selector. We query ._domainkey. automatically across 14 DNS resolvers.

What is DKIM?

DKIM (DomainKeys Identified Mail) is the middle leg of email authentication. The sending mail server signs outgoing messages with a private key; the matching public key is published in DNS. Receivers verify the signature against the published key.

DKIM keys live at <selector>._domainkey.<your domain> as TXT records. You need both the domain and the selector to look one up. Use the two fields above: we'll assemble the query for you.

Finding the selector

Each mail provider uses its own selector. Common ones:

If you don't know the selector, inspect a real message from the provider: the DKIM-Signature header includes s=<selector>.

Anatomy of a DKIM record

A typical DKIM TXT looks like: v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKB.... The tags:

Common errors and pitfalls

FAQ

Can a domain have multiple DKIM keys?

Yes: one per selector. A domain that sends through Google Workspace + Mailchimp + a custom server can have three DKIM records at three different selector names.

How often should DKIM keys be rotated?

Annual rotation is the conservative recommendation, especially for long-lived RSA keys. Many providers automate this; check whether yours does.

Why does my DKIM-Signature say "fail" but the record exists?

Usually a key mismatch (you re-generated the key but didn't update DNS) or message-body modification (a mailing list footer was appended, breaking the body hash). Compare the p= in DNS to what the sending server actually has.

Background reading

See the DKIM glossary entry, plus SPF and DMARC. The DNS Records Explained guide ties them together.

All record-type lookups

WhereIsDNS has dedicated pages for each common DNS record type. Each one defaults the tool to that record type and includes background on what the record means and what to look for.