Katabarwa Labs
← Blog

Find dangling DNS records in Azure before someone takes over your subdomain

Azure security · August 29, 2026 · 5 min read

Somewhere in your Azure DNS zones there is probably a CNAME that points at a web app, storage account, Front Door, or Traffic Manager profile that no longer exists. The team deleted the resource months ago; nobody touched the DNS record. That record is now a subdomain takeover waiting to happen: anyone who re-claims that Azure name (the azurewebsites.net or blob.core.windows.net hostname your CNAME still points at) inherits your subdomain, on your domain, with your reputation behind it. Phishing pages and cookie theft on something.yourcompany.com follow from there.

Why Azure cannot do this out of the box

The DIY approach: enumerate, resolve, classify, repeat

The shape of a real fix is a scheduled job inside your own subscription:

The catch is the same as with every security chore: the script exists, the discipline does not. A scan you ran in March says nothing about the resource a teammate deleted in April, and the wildcard-DNS edge cases mean the obvious ten-line version quietly under-reports.

A ready-made option: Dangling DNS Sentinel

Our tool for this: Dangling DNS Sentinel on the Azure Marketplace. It runs as a managed application inside your own subscription, so nothing leaves your tenant.

Dangling DNS Sentinel is that pattern packaged. Every day at 06:00 UTC it enumerates every CNAME across all Azure DNS zones in the subscription, resolves each Azure-service target from inside your tenant using the built-in resolver (no external lookup service), and classifies it as dangling, review, unchecked, or ok, then reports to Teams as an Adaptive Card via a Workflows webhook. Records verified healthy are not re-flagged daily, so the alert channel stays quiet until something actually changes. It is read-only (it never changes DNS) and needs only the Reader role at subscription scope.

Key facts

Related reading: find orphaned Azure resources still costing you money.


Written by the team at Katabarwa Labs. We build small, single-purpose Azure tools that run entirely inside your own tenant. Questions: abaho@llmgraph.ai.