# How to Rotate a DKIM Selector Without Breaking Mail

https://ferkesh.net/zh/knowledgebase/article/email-dkim-key-rotation-checklist

![Workflow: Prepare the new selector; Verify before switching; Check real signing; Retire with evidence.](https://ferkesh.net/kb-media/ferkesh-guide-diagrams-batch-12.svg#email-dkim-key-rotation-checklist)

A planned DKIM selector change gives the old and new signing paths time to overlap. Keep control of both the mail service and the authoritative DNS during the change.

## Procedure

1. **Prepare the new selector.** Use the provider’s supported key generation flow. Keep the private key within the approved signer. Publish only the prescribed public material or delegated CNAME in DNS.
2. **Verify before switching.** Resolve the new selector against authoritative DNS and an independent recursive resolver. Record the exact selector and signing domain. Check the provider accepted the new configuration.
3. **Check real signing.** Send one authorized test per important sending path. Inspect the trusted receiver result for the intended selector, valid signature and alignment with the visible From domain.
4. **Retire with evidence.** Leave the old record while legitimate in-flight messages can still reference it, following provider guidance. Remove it only after the retention decision and record the monitored results.

## Related guides

- [How to Verify the DKIM Selector a Mail Service Uses](https://ferkesh.net/knowledgebase/article/verify-dkim-selector)
- [How to Check DKIM Selectors During a Mail Provider Migration](https://ferkesh.net/knowledgebase/article/dkim-selector-during-mail-migration)
- [Email Hosting and Deliverability articles](https://ferkesh.net/knowledgebase/category/email-hosting-and-deliverability)

## Official references

- [RFC 6376 DKIM signatures](https://www.rfc-editor.org/rfc/rfc6376)
- [Google Workspace DKIM setup](https://knowledge.workspace.google.com/admin/security/set-up-dkim)

Ferkesh Hosting. Last reviewed November 26, 2026.
