All terms
Glossary · DKIM details
DKIM key rotation
DKIM key rotation is replacing the signing key with a new one at regular intervals; M3AAWG recommends rotating keys at least every six months.
By: Kemal Özleyen, Cybersecurity Engineer · Check Point Workspace Security Expert · Kinetik Bilişim
How it works
Rotation uses selectors: the new key is published under a new selector, signing moves to it, and the old key stays in DNS for a while so messages in transit can still be verified. It is then removed, or revoked by emptying its p= value; an empty p= means the key has been revoked (RFC 6376 §3.6.1).
In Microsoft 365, rotation is an action the administrator starts. Some Microsoft 365 key records carry a note (n=) containing the creation date; Mailskop reads that date and shows the key’s age. For keys without the note the date is unknown; a missing note does not mean the key is new.
Guide SPF, DKIM and DMARC in Microsoft 365
Related DKIM selector · DKIM key length · DKIM
Source M3AAWG · RFC 6376 §3.6.1 · Microsoft Learn
Last updated: