Dangling DNS Checker

A forgotten CNAME can hand your subdomain to a stranger — check yours before they do.

A dangling DNS record is a subdomain that still points at a service nobody owns any more. Delete a GitHub Pages site, a Heroku app or an S3 bucket and forget the CNAME, and anyone can claim that resource and serve content under your subdomain — with a valid TLS certificate. This checker follows the CNAME chain for up to 10 domains, matches the target against takeover-prone services, and fetches the name to look for the service’s own “unclaimed” page — a pattern alone is never enough to call a domain dangling. It is the companion to the DNSSEC Checker, and the companion article what dangling DNS and subdomain takeover are walks through a real case by hand. Try the live demo (cloudflare.com, clean) or the recorded dangling demo.

Last updated:

1. Check your domains

Subdomains or apex domains. Schemes, paths and trailing dots are stripped; duplicates are checked once.

🔒 The check runs server-side through our checker: your browser never contacts the target, so no CORS block — and the page is fetched only to read the service’s public error page, never to log in or send data. Nothing you paste is stored.

What dangling DNS is

DNS maps names to places. A CNAME record says “this name is an alias for that name”: blog.example.com can point at myblog.herokuapp.com, and anyone asking for the blog is sent to Heroku. An A / AAAA record points a name straight at an IP address, and NS records say which name servers answer for the zone. A record is dangling when the thing it points at is gone: the Heroku app was deleted, the S3 bucket was removed, the GitHub Pages repo was taken down — but the DNS record stayed.

That is when a subdomain takeover becomes possible. The services in question let anyone claim an unused name: create a Heroku app with the same name, a GitHub Pages site with the same repository, an S3 bucket with the same name — and the provider starts serving your content under the victim’s subdomain. The subdomain still belongs to the victim’s domain, so visitors trust it, cookies scoped to the parent domain are sent to it, and the attacker can even get a valid TLS certificate for it.

Not every CNAME to a cloud service is dangerous. The record is only dangling when the resource is actually gone. That is why this checker does two things: it follows the CNAME chain in DNS, and — only when the target matches a takeover-prone service — it fetches the name and reads the body for the service’s own unclaimed page (“No such app”, “There isn’t a GitHub Pages site here”, “The specified bucket does not exist”). A pattern with no body evidence is reported as at-risk, never as dangling.

Two cases need no fetch at all. If the CNAME target does not resolve (NXDOMAIN), the record points at a name that no longer exists — that alone is dangling, and it is also how deleted Azure and Elastic Beanstalk resources show up, since they stop resolving entirely. And a name with no DNS records at all is not dangling either: there is nothing pointing anywhere.

What this checker does — and what it does not

It runs a real check from the server for each domain: it follows the CNAME chain (up to 5 hops), reads A, AAAA and NS records, matches the final target against 14 takeover-prone services, and — only on a pattern match — fetches the name over HTTPS, retrying once over plain HTTP when the TLS handshake fails (a dangling custom domain usually fails TLS, because the provider’s certificate does not cover it, and S3 website endpoints do not serve HTTPS at all). The fetch only reads the service’s public error page. Your browser never contacts the target, so the check is not blocked by CORS.

It does not claim anything on your behalf, and it never tries to: a dangling verdict means the resource looks claimable from the evidence, and the only proof is claiming it — which you should do yourself, in your own account, before an attacker does. It does not check whether a CNAME target’s domain is still registered (an RDAP lookup), it does not look at A records pointing at released cloud IP addresses (a real risk, out of scope here), and it does not check SPF includes or MX records pointing at dead domains.

The recorded demo is a replay, not a live check: a real check of an unclaimed Heroku app name (sysosx-probe-xyz12345.herokuapp.com), captured 2026-11-23 — the name has a real CNAME chain to Heroku’s ingress and Heroku answers HTTP 404 “No such app”. It names no third party’s subdomain: publishing a real victim’s dangling name as a demo would advertise a live vulnerability. The live demo checks cloudflare.com, verified clean at the same time (no CNAME, Cloudflare A records, no dangling signal).

Be honest about what “dangling” means

“Dangling” means the evidence says the resource is gone and claimable — a dead CNAME target, or the service’s own unclaimed page. It is not a guarantee that the takeover will work: some services have added checks (GitHub Pages, Heroku, Vercel, Netlify and Shopify are “edge cases” in the community list for exactly that reason), and the only proof is a claim attempt. Treat a dangling result as “fix today”, not as “already exploited”.

And “at-risk” does not mean “safe”. It means the pattern is there but the body evidence is missing — the fetch failed, the page changed, or the fingerprint moved. Fingerprints change when providers redesign their error pages, so a service that looks claimed today can be unclaimed under a new page tomorrow. If you no longer use the service, delete the DNS record either way: a record you do not need is a record you do not have to defend.

Key facts

Dangling DNS recordA DNS record that points at a resource that no longer exists — usually a CNAME left behind after the service, app or bucket it named was deleted.
CNAME recordA DNS record that makes one name an alias for another: blog.example.com can point at myblog.herokuapp.com, and resolvers follow the chain.
Subdomain takeoverClaiming a deleted resource that a victim’s subdomain still points at, so the provider serves the attacker’s content under the victim’s subdomain — trusted name, valid TLS certificate, parent-domain cookies included.
NXDOMAINThe DNS answer “this name does not exist”. A CNAME target that answers NXDOMAIN is dangling on the DNS evidence alone — no fetch needed.
Unclaimed-page fingerprintThe exact text a service returns when a name is not claimed — “No such app” (Heroku), “There isn’t a GitHub Pages site here.” (GitHub Pages), “The specified bucket does not exist” (S3). The checker matches the fetched body against these strings.
At-risk (pattern, no evidence)The CNAME matches a takeover-prone service, but the body evidence is missing — the fetch failed, the page is not the known unclaimed page, or the fingerprint changed. A human needs to look.
Fix orderDelete the DNS record first, then the resource. Deleting the resource first and getting distracted is how dangling records are made.
Official referencecan-i-take-over-xyz — the community list of takeover-prone services and their fingerprints

Frequently asked questions

Why does the check run on a server instead of in my browser?

Because browsers block cross-origin reads. A page on sysosx.com cannot fetch another site’s body to look for the unclaimed page — the target would have to opt in with CORS headers, and providers do not. The checker fetches from its own server, where that restriction does not apply, and returns the evidence with it. DNS itself is also read server-side for the same reason.

My domain points at Heroku, but the check says at-risk, not dangling — why?

The pattern matched, but the body evidence is missing. Either the fetch failed (often TLS: the provider’s certificate does not cover a dangling custom domain, so the checker retries over plain HTTP — if that fails too, the verdict stays at-risk), or the page is not the known unclaimed page: the app may be claimed, or the provider may have changed its error text. Open the name in a browser and compare what it serves with the service’s unclaimed page.

I found a dangling record — what do I do first?

Delete the DNS record first, then the resource in the service’s portal. Deleting the resource first is how the record became dangling in the first place. Then re-check the name here: a clean result should show no CNAME and no pattern. If the subdomain served anything sensitive, also check whether parent-domain cookies or OAuth redirect lists trusted it, and rotate anything that could have leaked.