Quick fix
Correct loops, misspellings, and obsolete intermediate aliases.
What this finding means
Hosted mail platforms commonly delegate selectors with CNAME records. SecuTest follows the chain within a strict depth and reports loops, unresolved targets, and unsafe chain behavior.
Associated attack or threat scenario
How the attack or failure scenario works
A broken alias chain prevents key retrieval and causes signature failure. If the final provider resource belongs to a deleted tenant and can be reclaimed, an attacker may control the selector record; that takeover requires provider-specific evidence and is not proven by a broken chain alone.
Conditions and limitations
- The selector uses one or more CNAME aliases.
- The chain loops, exceeds limits, or ends at an unresolved or stale target.
- Takeover additionally requires the target resource to be claimable by an unauthorized account.
Why it matters
Step-by-step fix
Where to make the change
- The authoritative DNS zone for the registrable domain.
- The outbound or inbound mail platform when sender authorization, signing, or routing is involved.
- The DMARC reporting mailbox or reporting service when aggregate reports are required.
Remediation procedure
- Correct loops, misspellings, and obsolete intermediate aliases.
- Keep the chain short and ensure the final target publishes one valid key.
- Confirm the provider tenant still owns the final resource.
- Remove retired selector delegations after senders stop using them.
Commands and configuration examples
Replace example values with the hostname, selector, IP address, port, provider, or policy values shown in your SecuTest evidence. Review every example before production use.
dig +trace selector._domainkey.example.com
dig +short CNAME selector._domainkey.example.com
dig +short TXT selector._domainkey.example.com
Verify the fix
- Run `dig +trace selector._domainkey.example.com`.
- Resolve every CNAME hop externally.
- Confirm the final TXT key is valid.
- Send signed mail and verify `dkim=pass`.
After DNS, CDN, certificate, mail, or application propagation completes, run a fresh SecuTest scan and compare the new evidence with the original finding.
Common mistakes
- Adding a CNAME where a TXT record already exists.
- Pointing to a provider hostname from a deleted tenant.
- Testing only with an internal split-horizon resolver.