Skip to content

πŸ“¬ What Does DKIM Stand For? ​

DKIM stands for DomainKeys Identified Mail.

It is an email authentication method that allows the sender to digitally sign emails using a private key. The receiving server can then verify the email’s authenticity using the sender’s public key published in DNS.

DKIM helps ensure that the email was not altered in transit and truly comes from the claimed domain.


πŸ” How DKIM Works ​

  1. The sender's mail server adds a DKIM-Signature header to the email
  2. That header includes a hash of the message and metadata, signed using the domain's private key
  3. The recipient's mail server looks up the public key in DNS (via a TXT record at selector._domainkey.example.com)
  4. It uses the public key to verify the signature and check the integrity of the email

If the signature matches β†’ DKIM = PASS βœ…


πŸ§ͺ Example DKIM DNS Record ​

selector._domainkey.example.com. IN TXT "v=DKIM1; k=rsa; p=MIGfMA0G..."
  • selector β†’ a label that identifies which key to use
  • v=DKIM1 β†’ DKIM version
  • p=... β†’ the base64-encoded public key

βœ… TL;DR ​

DKIM stands forDomainKeys Identified Mail
Used forSigning outgoing emails to verify authenticity
Type of DNS recordTXT at selector._domainkey.yourdomain.com
Helps protect againstTampering and spoofing
Works withDMARC, DNS, SMTP