Health-aware DNS traffic management for Azure private VNets
DTM is a self-hosted, DNS-based traffic manager for Azure. Health-aware answers and regional routing across your VNets, with no extra service in the data path.
A self-hosted alternative to Azure Traffic Manager for private networks, with health-aware routing across your VNets and one flat software rate per node on any VM size.
Load balancing in the DNS answer
Health-probed, DNS-based traffic distribution built in. DTM answers with a healthy backend and clients connect to it directly, so nothing extra sits in the data path. Keep Load Balancer or Application Gateway where you need their L4 or L7 features.
Azure-native & VNet-aware
Point your VNet’s DNS at DTM and every resource resolves through it, with no per-resource setup. It discovers your VNets and subnets (and, opt-in, your Private Endpoints), routes by region, and answers queries for clients in and across VNets. One private name can answer each region with its own healthy backends.
Light to run, hard to kill
A lightweight, fully meshed cluster in your own subscription. Self-healing, with automatic failover and no single point of failure.
How it works
Health-aware, DNS-based traffic management running in your own subscription.
Under the hood, DTM is a standards-compliant authoritative DNS server: core DNS (RFC 1034/1035), EDNS(0) (RFC 6891), DNS-over-TLS (RFC 7858) and DNS-over-HTTPS (RFC 8484), with dynamic updates (RFC 2136) secured by TSIG (RFC 8945). Traffic management is built into the DNS layer, not bolted on.
A traffic manager that thinks like your infrastructure
See the product
DTM ships with a full management web UI, served from the cluster itself: nothing to install, nothing exposed outside your VNet. Zones, records, health, forwarding, users, and upgrades are all point-and-click; the same operations are scriptable over the API and Terraform.



Take the full tour in the docs:using the web UI.
Built for the way you ship
Everything DTM does is a REST call and a Terraform resource, so traffic policy is automated with the same IaC as the rest of your deployment: complete control, end to end.
Canary and blue/green, from your pipeline
One apply weights roughly 10 percent of traffic to the new build; the next makes it 50, then all of it. The split is DNS-coarse, so treat the weights as steps rather than exact percentages. A weight of zero keeps the old build warm and health-checked for instant rollback, and a failing canary drops out of the answer on its own.
DNS and traffic policy as code
Records, health checks, failover order and canary weights live in a repo and apply with a plan you can read. Out-of-band edits show up as drift and get put back; a scoped CI role and the audit log keep it accountable. Service-account tokens and user passwords are write-only: minted at apply time and never written to Terraform state.
The safety catch stays on: mark a record protected and neither the console’s delete nor a Terraform destroy of that record can remove it, and no import can overwrite it, until someone deliberately takes the protection off or forces the delete through the API, which the audit log records. Deleting a whole zone removes its records, so lock the zone against deletion too: a locked zone cannot be deleted until the lock is cleared.
Governed from day one
DTM ships an Azure Policy governance pack: 8 controls (7 auditing by default) plus an initiative, so your landing-zone compliance view covers the deployment and DNS adoption from the first apply, without ever blocking DNS.
Across many subscriptions, optional region discovery can cover a whole management group with one scope: grant DTM Reader once at the group and confirm which subscriptions it covers. A subscription that joins the group later is reported for you to approve, and is not read until you do.
Terraform provider · Weighted policies · Azure Policy pack · Management-group scopes · See all use cases →
How DTM compares
Azure Private DNS answers. DNS Private Resolver forwards. Traffic Manager steers public traffic. DTM health-checks and steers your private names, filling the gap between them. It complements (rather than replaces) the L4/L7 proxies, so the L7 row is honestly a “no”.
| DTM | Private DNS | Private Resolver | Traffic Manager | Load Balancer | App Gateway | Front Door | |
|---|---|---|---|---|---|---|---|
| Mechanism | DNS-based | DNS zones | DNS forwarding | DNS-based | L4 (pass-through) | L7 proxy | L7 edge |
| Works inside a private VNet | ✓ | ✓ | ✓ | ✗ | ✓ | ✓ | ~ |
| Hosts your private zones | ✓ | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ |
| Forwards to on-prem / other DNS | ✓ | ✗ | ✓ | ✗ | ✗ | ✗ | ✗ |
| Health-probe routing | ✓ | ✗ | ✗ | ✓ | ✓ | ✓ | ✓ |
| Cross-region traffic failover | ✓ | ✗ | ✗ | ✓ | ~ | ~ | ✓ |
| Health-checked backends across VNets | ✓ | ✗ | ✗ | ✗ | ✗ | ~ | ~ |
| Self-hosted (you run & control it) | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ |
| No per-query / per-GB / capacity-unit fee | ✓ | ✗ | ✓ | ✗ | ✗ | ✗ | ✗ |
| L7 features (TLS, WAF, path routing) | ✗ | ✗ | ✗ | ✗ | ✗ | ✓ | ✓ |
✓ yes · ~ partial · ✗ no
Azure Private DNS zones are a global resource you can link to VNets in any region, and Azure keeps VM and Private Endpoint records in them current (autoregistration and zone groups). They answer with the records you hold: Azure DNS does not monitor endpoint health, so moving clients off a failed backend is a record change you make. DNS Private Resolver conditionally forwards queries between Azure and other DNS servers; it hosts no zones of its own. Two resolvers in different regions give the DNS path itself a failover, but the answers do not change when a backend fails.
Traffic Manager is designed for internet-facing endpoints and can’t route for clients on, or health-probe services behind, a private VNet.
The global Load Balancer has a public frontend only and cannot take an internal load balancer as a backend. Application Gateway is regional: it can reach back ends in other regions, but Microsoft notes that using a regional resource as a router for globally distributed back ends introduces a regional single point of failure.
Front Door’s client edge is public (origins can be private via Private Link).
“Self-hosted” means you run and control the software on your own VMs (and own its upgrades); Load Balancer and Application Gateway are deployed in your subscription/VNet but are Microsoft-managed services.
“No per-query / per-GB / capacity-unit fee” means no Azure usage meter on your DNS traffic: DTM bills a flat software rate per node while its VM runs, plus your normal Azure infrastructure costs (compute, disk, networking). DNS Private Resolver has no query meter either: it bills a fixed rate for each inbound and outbound endpoint and each forwarding ruleset. Azure Private DNS bills per zone and per query.
Azure capabilities per Microsoft Learn, last checked November 2026: Azure Private DNS · Private DNS reliability · Private Endpoint DNS integration · DNS Private Resolver · Private Resolver failover · Traffic Manager FAQ · Global Load Balancer · Load Balancer backend pools · Application Gateway FAQ · Azure load-balancing options · Front Door Private Link · Azure DNS pricing
Deeper dives: DTM and Azure Traffic Manager · Failover in Azure Private DNS · DTM and Azure DNS Private Resolver · DTM and BIND 9 · All comparisons
Cross-region load balancing for private resources, finally simple
Load-balancing private resources across regions has always been awkward on Azure. Traffic Manager is internet-facing only; the global Load Balancer is public-frontend only (it won’t even take an internal load balancer as a backend); Application Gateway is regional, and Microsoft’s own guidance is that using a regional resource as a router for globally distributed back ends introduces a regional single point of failure. So teams stitch together paired regional load balancers, custom DNS and home-grown failover, which is difficult to build and costly to maintain.
DTM solves this directly: health-aware, regional, cross-VNet traffic management for your private endpoints from a single lightweight service you run yourself, at one flat software rate per node. It is resilient by design, Azure-aware out of the box, and your traffic and DNS data never leave your subscription.
Start with one name
You do not migrate your DNS to try DTM. Point it at your existing zone as a forwarder, override the one name that keeps paging you, and give it health checks and cross-region failover this afternoon. Every other name resolves exactly as it did yesterday, and removing the override is one call.
Built for locked-down networks
DTM is DNS for private networks, so it is built to live in one: self-hosted, auditable, and answerable to your security review.
Reliability is published too: DTM is engineered to SLO targets (99.95% DNS answer success, p99 latency under 10 ms for authoritative answers) that you can verify from your own metrics. Every deployment includes support; a formal, SLA-backed support tier is available separately under a written agreement.
One flat price per node
US$0.12 per node per hour, at any VM size, billed through your Azure invoice: about $88 per node per month, plus your normal Azure costs for the VMs, disks and networking.