Learn DKIM
DKIM signs selected message headers and the body with a private key. Receivers retrieve the matching public key from a selector under the signing domain.
Read each short explanation, work through the example, then answer a pop quiz. Every answer explains the reasoning. Incorrect answers unlock a fresh question on the same idea; the full lesson contains ten questions.
01Understand the basics
Ready to learnDomainKeys Identified Mail (DKIM) adds a cryptographic signature to a message. The signer selects a domain in d= and a selector in s=. Receivers retrieve the public key from selector._domainkey.domain and verify that the signed content has not changed.
02Publish the selector key
Ready to learnA DKIM key record contains tag-value fields. p= carries the public key; an empty p= revokes the selector. Syntax checks do not prove that the matching private key is protected or that mail is being signed.
Try a different value
03Rotate without breaking verification
Ready to learnCreate a new selector and key, publish the new public key, confirm it resolves, then switch signing. Retain the old public key while delayed messages bearing the old selector may still be verified, and remove it when it is no longer needed.
You’ve practised all three sections.
First-attempt understanding and later practice are shown separately. Keep practising with the related tools or continue through the suggested path.
Put it to work
Apply what you’ve learned using the related tools.