[ DNS & domains ]
Dangling DKIM CNAMEs after a supplier is offboarded
Retire supplier-managed DKIM aliases with checks for active selectors, standby rotation, delayed messages, target control and remaining access.
By the EmailAuth research team · 8 min read
[ Key points ]
- A DKIM alias, signing configuration and supplier credentials are separate dependencies.
- Check standby selectors and in-flight messages before retiring public-key lookups.
- Do not infer target claimability or instant global revocation from a DNS change.
[ Takeaway ]
Close the actual signing relationship, preserve only justified message dependencies, and verify DNS retirement and replacement authentication separately.
[ By role ]
What this means for you
Choose your role for practical next steps.
IT / Mail Admin
Retire selectors by evidence
Recent message samples do not reveal every rotation or queue dependency.
Next steps
- Inventory exact d=/s= and alias targets.
- Check standby selectors and scheduled or delayed messages.
- Verify the replacement signer and retirement DNS state.
CISO / SecOps
Review continuing key control
An external public-key target remains a trust dependency until properly retired.
Next steps
- Validate provider lifecycle controls without claiming targets.
- Coordinate access retirement and any urgent revocation decision.
- Avoid asserting that cached keys disappear immediately.
Founder / Non-technical
Finish supplier offboarding across teams
Contract closure does not automatically stop workflows or delete DNS records.
Next steps
- Confirm which applications still depend on the supplier.
- Approve migration and a justified retirement deadline.
- Require owner closure of DNS, configuration and access tasks.
[ FAQs ]
Frequently asked questions
Does deleting a supplier account remove its DKIM CNAMEs?
Do not assume so. Customer DNS publication and provider account configuration are separate responsibilities; verify both sides of the offboarding relationship.
Is a selector absent from recent mail safe to delete?
Not necessarily. Microsoft 365 documents active and rotation-standby selectors. Check the actual supplier’s supported model and other workflows before retirement.
Does a CNAME itself let someone sign mail?
No. Signing requires a private key. The alias directs public-key discovery, so control of its target remains a dependency that must be assessed separately.
Does a missing target prove a reclaimable DKIM service?
No. A missing key or target does not establish provider reassignment or ownership-validation behavior. Retain that uncertainty and seek authoritative provider evidence.
Microsoft: Prevent dangling DNS entries and avoid subdomain takeover
How long should the old key stay published?
There is no universal interval in this guide. Base the decision on actual queued and already signed messages, service behavior, and the security owner’s risk decision.
Must a compromised key stay available for delayed messages?
No. A security incident may justify faster revocation despite delivery disruption. The accountable security owner must decide and coordinate that response.
Does deleting the CNAME revoke it everywhere instantly?
No. Recursive resolvers may retain cached alias or key data. Verify authoritative removal and record cache observations without promising immediate global disappearance.
What proves the replacement route is ready?
Retain a controlled received message with the intended signing identity and a passing path aligned with the visible From. A DNS save or provider badge alone is insufficient.
[ Sources ]
Sources
- RFC1034
Sections §3.6 Aliases and canonical names · §4.2 How the database is divided into zones · §4.3.4 Negative response caching
- RFC2308
Sections §2. Negative Responses · §5. Caching Negative Answers
- RFC9989
Sections Identifier Alignment · DMARC Policy Discovery
- RFC6376
Sections §3.5 DKIM-Signature Header Field · §3.6 Key Management and Representation · §5. Signer Actions · §6. Verifier Actions
- Microsoft: Prevent dangling DNS entries and avoid subdomain takeover
Sections What is subdomain takeover? · Prevent dangling DNS entries · Remediate dangling DNS entries
- Microsoft: Configure DKIM for custom domains
Sections Syntax for DKIM CNAME records · Rotate DKIM keys · DKIM signing configuration for custom domains
[ Glossary ]
Glossary
- Selector
- The DKIM signature value used with the signing domain to locate the applicable public key.
- Standby selector
- A selector retained for a provider’s supported future key rotation rather than current signing.
- Retirement deadline
- The approved point for removing an obsolete lookup after message dependencies and security risk are reviewed.
- Key-discovery dependency
- The DNS lookup relationship through which a receiver obtains the public key for a DKIM signature.
Enterprise provenance
Why top financial institutions and governments retired their email security dashboards.
Traditional email authentication platforms sell you a dashboard and ask your engineers to do the labour. In high-stakes environments, manual oversight means delayed enforcement, configuration drift and unmonitored shadow domains.
EmailAuth is the agentic email provenance platform. Our agents enforce p=reject, keep third-party senders aligned and move your domains to full RFC 9989 compliance, the new DMARC standard,, with human-in-the-loop auditability.
SaaS · Dedicated tenancy · Air-gapped on-prem · BYOK encryption