Skip to content

What is a dangling subdomain

A dangling subdomain is a DNS record (usually a CNAME) pointing to a service that no longer exists, such as an app deleted from a hosting platform. If someone else claims that service, they can publish content on your subdomain: this is called a subdomain takeover.

Published · ganyant

How does it happen?

You create promo.yourcompany.com pointing to an app on an external platform. Months later you delete the app but forget the DNS record. The subdomain still points to a name that is now free for anyone.

Why is it dangerous?

Whoever takes it can show a fake page at your real address, steal data with forms that look like yours, or use it for phishing that gets past filters because it comes from your domain.

How do I detect it?

List your subdomains (for example from public certificate logs, Certificate Transparency) and check whether each CNAME points to something that still exists and answers.

How do I fix it?

Delete the DNS record of the subdomain you no longer use, or recreate the service it points to. Ideally, always delete the DNS record before shutting down the service.

How does ganyant do it?

On the Agency plan, ganyant discovers your subdomains every day from public certificate logs, checks each one and alerts you if any is dangling or its certificate is about to expire.

Put it into practice, free

ganyant monitors your sites from 4 continents, audits their security every day and publishes your status page. Free plan.