Topic · Authentication

DKIM public key

A DKIM public key is the DNS-published verification key for a private key used to sign outgoing email.

Email Security Glossary·Practical guidance
Share this definition LinkedIn X WhatsApp Email
01 / How it works

How it works

The selector and signing domain form a _domainkey DNS lookup name that receivers query when validating signatures.

02 / What can go wrong

What can go wrong

Expired or stale records can leave verifiers unable to confirm signatures after key rotation.

03 / What to check or do

What to check or do

Confirm the advertised key corresponds to the active signer and remove obsolete selectors carefully.

Practical diagnosis

How to investigate DKIM public key

Signal to investigate
A sender signs email while DNS publishes the wrong selector key.
Evidence to collect
Query selector._domainkey.domain and compare it with the key configured in the signing service.
Common wrong conclusion
Publishing a public key does not confirm the private key is held or actually used by the service.
Illustrative diagnostic — substitute your authorized domain or host
dig +short TXT selector1._domainkey.example.com
Educational example; not validated against your live infrastructure.
NEXT STEP

Put this into practice

Run a focused check, then explore protection if your domain needs it.

Authoritative reference ↗