Skip to main content
Enter TitanOS

Glossary

What is DKIM?

By Kyle Deligny, Brisbane. Last reviewed 28 November 2026. General information, not legal advice.

DKIM. DKIM (DomainKeys Identified Mail) adds a digital signature to every outgoing email. Your mail system signs selected parts of the message with a private key, and you publish the matching public key in DNS at a name made from a selector, such as selector1._domainkey.yourdomain. The receiving server fetches that public key and checks the signature. A valid signature shows the message really passed through a system you authorised and that the signed parts were not altered on the way. Each sending service usually has its own selector, so a business that uses Microsoft 365 for mail and a separate tool for invoices needs a DKIM key for each. DKIM on its own does not tell the receiver what to do with a failure. DMARC supplies that instruction.

How it works

DKIM uses public key cryptography. Your mail system holds a private key and signs a hash of chosen headers and the body of each outgoing message, adding the result as a DKIM-Signature header. That header names the signing domain (d=) and a selector (s=). The receiver combines them into a DNS name, selector1._domainkey.example.com.au for instance, fetches the public key published there and verifies the signature.

A valid signature proves two things: the message was signed by a system holding the private key for that domain, and the signed parts were not changed in transit. It does not say the message is trustworthy, only that it is authentic to the signing domain. DMARC then checks whether that signing domain matches the From address.

Each service that sends for you normally signs with its own selector, so keys for Microsoft 365, a newsletter tool and an invoicing app can sit side by side in DNS without clashing. Modern guidance is to use 2048-bit keys where the provider supports them and to rotate keys from time to time by publishing a new selector, switching signing to it, then retiring the old one.

Reading a selector

If an email header shows d=example.com.au and s=selector1, a receiving server asks DNS for the TXT record at selector1._domainkey.example.com.au. If that record holds the matching public key, the signature verifies. If a business deletes the record while the service is still signing with that selector, every message from that service starts failing DKIM.

What to do about it

  1. Turn on DKIM signing in your main mail platform and publish the DNS records it gives you.
  2. Repeat for every other service that sends as your domain.
  3. Send a test message to an address you control and read the Authentication-Results header for dkim=pass.
  4. Note the selectors in a short document so nobody deletes one by mistake later.

Common mistakes

  • Enabling DKIM in the platform but never publishing the DNS records.
  • Removing an old selector while a service still signs with it.
  • Leaving a weak, short key in place for years.

Related terms and tools

See where your own domain stands. Titanos runs a free external check from public records only, and nothing on your systems is touched.

Run the free domain check

Source

  1. RFC 6376, DKIM signatures

See this term in the full glossary (35 terms).

Book a free call