Identify who signs each stream

A DKIM rollover is a change to a live signing route, not just a DNS tidy-up. A business may have staff mail from one provider, receipt mail from another, and marketing mail from a third. Each can sign with a different domain and selector. Collect recent messages from every stream and inspect the DKIM-Signature header for the signing domain and selector, together with the recipient's verification result. Record which platform controls the private signing key and which team controls its DNS public key. A message can carry more than one signature, so do not assume the first header is the business domain's signature. The visible From address also need not equal the signing domain, although alignment may matter for a separate DMARC decision. Define the exact stream to rotate before changing anything.

RFC 6376 explains that a selector lets a verifier find the public key for a particular signing domain. It also describes how two selectors can coexist during a routine key replacement: publish both verification keys while old mail may still be in transit, begin signing new mail with the new private key, then remove the old public key after the transition. That sequence is the core control. Deleting the old DNS key first can make a delayed old message unverifiable. Publishing a new key without switching the signer does not prove the rollover happened. Never place a private key in DNS or in an editorial issue. If a provider manages keys internally, use its documented controls and do not invent a manual key-export procedure that the service does not offer.

The implementation differs by provider. Google's Workspace guidance describes a generated key, a DNS TXT entry and a later step to turn on and verify DKIM. Microsoft's custom-domain guidance uses provider-specified CNAME records for two selectors and a managed rotation path. Those are examples of differing service designs, not interchangeable recipes. Confirm the current product, tenant and domain before copying any record name or target. If a DNS panel automatically appends the zone name, verify the actual published owner name rather than trusting what was typed. If the company uses a reseller or a gateway, confirm whether the provider's signatures survive any outbound footer or message rewrite. A key rollover should not be used to conceal a pre-existing signing failure; record the baseline result first.

Stage the change and verify each phase

Write a change plan with the old selector, new selector, signing domain, DNS owner, sending-platform owner and a rollback contact. Obtain the new public key or provider-issued DNS target through the authorized platform, and publish it at the exact required name. Query public DNS to confirm the expected key material or CNAME is visible before changing the active signer. Keep the old record available. Time the switch for a staffed period when test mail can be sent through each affected stream and the team can respond to a failure. Do not choose a fixed universal waiting period without looking at provider behaviour, DNS caching and how long mail can remain queued in this system. A plan should state how the team will know the old selector is no longer needed.

Now switch signing through the provider's actual procedure. Send a new message through each affected route, preferably with distinctive test content and a recipient that exposes full headers. Inspect the new DKIM-Signature: does its signing domain match the intended route, does its selector identify the new public record, and does a recipient report verification success? Checking only the DNS record cannot answer these questions. If an old selector remains on newly sent mail, the platform may not have switched, the change may be delayed, or that route may use another signer. Investigate the actual message before declaring success. Also inspect the customer-visible From identity and any DMARC result as separate observations, because a successful DKIM signature under an unexpected domain may not satisfy the business's broader authentication goal.

Consider a hypothetical shop whose staff mail and order receipts both show the same visible brand, but only staff mail uses the selector being retired. The administrator publishes a new key, switches the staff platform and sees a valid new signature. The receipt service must still be inspected: it might sign under another selector, under its own domain or not at all. The staff test does not grant permission to delete a receipt key. Keep the inventory at the level of actual signing streams. If a recent old-signed staff message is still queued or might be verified later, leaving the old public record through the overlap protects that verification. This example illustrates a safe decision path; it is not a claim about an observed mail system or delivery rate.

Retire old material only with evidence

Before removing an old DNS key, compare the planned overlap with actual queueing and verification behaviour, and check that representative new messages no longer use the old selector. If the old private key may be compromised, treat that as an incident and escalate the timing decision; routine overlap advice cannot override an active compromise. If the new route fails, use the provider's supported rollback and retained old record while investigating. Document which selector signed each test, the DNS observation, the receiving result and any mail stream not yet tested. A clean change record does not need private key material. Its purpose is to let the next operator distinguish a verified rollover from an apparent DNS change with untested messages.

Keep selector ownership in the ordinary mail-service register. A new provider should disclose whether it signs with the business domain, where its public key is published and who may rotate it. A departing provider's selector should not linger forever simply because nobody knows what it supports, but it should not be deleted from a guess either. Review sample messages and the business owner of the corresponding customer workflow. This is particularly important for receipts and sign-in messages that people need at a particular moment. Schedule future rotation according to the actual platform's capability and risk policy, and link it to a repeatable send-and-header test. DKIM helps verify a signature; it does not certify the truth of a message, prevent all spoofing or guarantee inbox placement.

For the next practical step, select one domain and one active sending platform, obtain an old-signed sample and confirm who can change both the platform and DNS. Prepare the new selector in the provider's supported way and review the exact published record before the cutover. Afterward, require fresh signed messages from the affected routes, and keep the old key visible for the evidence-based transition. This narrow rehearsal makes responsibilities visible without changing unrelated providers at the same time. If the platform documentation describes a managed two-selector process, follow its sequence rather than translating generic RFC language into unsupported manual clicks. The acceptance decision is that real new mail verifies with the intended new selector while old in-flight mail still has a valid verification path.

An operational checklist should include messages delayed by the business's own queue and by an external relay. The old public key is for verifying signatures already created, not for continuing to sign new mail indefinitely. During the overlap, compare samples created before and after the switch so the selector difference is visible. If a test client reports a failure, distinguish a missing DNS key from an invalid signature caused by a downstream rewrite, an unexpected signing domain or an old cached record. Change only the component implicated by evidence. A provider status page may say rotation completed while a particular application still routes through another signer. Preserve the failing header privately for diagnosis and avoid forwarding customer content unnecessarily. These checks make the retirement decision based on mail behaviour, not solely on a calendar reminder.

Before you proceed

  • Each active stream has a baseline signing domain and selector.
  • New public key is visible before switching the signer, with old key retained during transition.
  • Fresh messages verify under the intended new selector before retirement.

Sources & further reading