Propagation delay is the constraint on unattended DKIM rotation; faster cutover is useful only after the replacement selector is usable. TL;DR: publish the new public key, verify the exact TXT value through the DNS path that matters, and keep signing with the current selector until the cutover gate passes. For fintech onboarding, require a separate, tenant-bound domain-control challenge before enabling sending. A successful DNS write is insufficient evidence for either decision.
The implementation below uses Go. The same state transitions apply to a Node.js scheduler: language choice does not remove the gap between publishing a record and a receiver being able to retrieve it.
What page fired before onboarding completed?
Consider a production-readiness drill, with hypothetical inputs rather than a reported incident: a fintech tenant wants to onboard notices.merchant.example , the current selector is active , and the replacement selector is candidate .…