# What is a dangling CNAME, and why is it dangerous?

Canonical: https://www.namesilo.com/questions/dns-and-email/what-is-a-dangling-cname-and-why-is-it-dangerous

Published: 2026-11-17

Last updated: 2026-11-19

Topic: DNS & email

A dangling CNAME is an alias left pointing at a resource that has been removed or is no longer controlled as intended. Microsoft’s subdomain-takeover guidance explains that an attacker may be able to claim the abandoned service resource and use the alias. The risk depends on that service’s ownership controls, so investigate the target before calling a record exploitable.

Retire the DNS binding with the service

Remove an obsolete alias as part of decommissioning, and verify every remaining custom-domain association. NameSilo’s DNS operation supports CNAME records with a target hostname in rrvalue. Keep the DNS owner, service account and responsible team together in the asset inventory.

Your next steps

Identify the service behind the CNAME

Verify its current ownership and custom-domain binding

Remove the obsolete alias when retiring the service

Retest the hostname after cleanup

Retire the DNS binding with the service

Remove an obsolete alias as part of decommissioning, and verify every remaining custom-domain association. NameSilo’s DNS operation supports CNAME records with a target hostname in rrvalue. Keep the DNS owner, service account and responsible team together in the asset inventory.

Verified detail: Microsoft describes dangling DNS and takeover of abandoned cloud resources.

Your next step: Retest the hostname after cleanup.

## Sources

- [Microsoft Azure: prevent dangling DNS and subdomain takeover](https://learn.microsoft.com/en-us/azure/security/fundamentals/subdomain-takeover)

- [NameSilo Add DNS Records](https://www.namesilo.com/api-reference/pages?uid=dns/dns-add-record)
