Technical details
DKIM (DomainKeys Identified Mail) is an email authentication protocol defined in RFC 6376 that uses asymmetric cryptography to prove that a message was sent by an authorized server and was not modified in transit.
The sending server signs selected headers and the message body with a private key, and the receiving server verifies the signature using the public key published in DNS at selector._domainkey.domain.com.
DKIM survives email forwarding because the cryptographic signature is embedded in the message headers and travels with the message regardless of the forwarding server's IP address.
Frequently asked questions
Can DKIM prevent email spoofing?+
Yes, if the private key is kept secret. A spoofed message cannot produce a valid DKIM signature because the attacker does not have the private key.
What happens if the DKIM private key is leaked?+
Anyone with the private key can sign messages as your domain. Rotate the key immediately: generate a new pair, publish the new public key, and delete the old DNS record.
Does DKIM encrypt the email?+
No. DKIM only signs (authenticates) the message. For encryption, use S/MIME or PGP. DKIM proves authenticity, not confidentiality.
Check your domain with our free tools: SPF checker, DMARC checker, DKIM checker.