Compare

Regional failover for names in Azure Private DNS

You have a private zone, and one name in it has to fail over to another region when its backends go down. The zone does not have to move. This page covers what Azure DNS documents, and how to make one name health-aware with Hayami DTM while the zone stays where it is.

What Azure DNS documents

Microsoft's Azure DNS FAQ says what a record does when it is queried, and where failover comes from:

“Azure DNS only supports hosting static DNS domains, where each DNS query for a given DNS record always receives the same DNS response.”

“DNS-based traffic routing and endpoint failover are provided by Traffic Manager. Traffic Manager is a separate Azure service that can be used with Azure DNS.”

Source: Azure DNS FAQ, “Does Azure DNS support DNS-based traffic routing or endpoint failover?”, Microsoft Learn. Private zones are part of Azure DNS: “Private domains are supported using the Azure Private DNS zones feature” (Azure Private DNS FAQ).

Traffic Manager, in turn, is documented as unable to route traffic for a private network (what Microsoft says, quoted). Read together, those documents describe no way for either service to fail a name in a private zone over on health.

Azure DNS can also hold zones of the same name that resolve differently from inside a virtual network and from the public internet (Private DNS overview). That is about which zone a client sees, not about whether a backend is healthy.

One name, without moving the zone

DTM is a DNS appliance, deployed from the Azure Marketplace as a cluster in your own VNets. An override record puts DTM in front of exactly one name. DTM answers that name with health checks, load balancing and cross-region failover, and forwards every other name in the zone to your existing DNS untouched. Remove the override and the name goes back to resolving as it did.

  1. Point your VNets' DNS at the DTM cluster, with a forwarder for the zone to the DNS you use today. Everything resolves as before.
  2. Create an override for the one name, with its backends in each region and a health check. DTM now returns only the healthy backends, preferring the client's own region.
  3. Rehearse losing a region, then decide whether to override more names or migrate the zone later.

Adopt DTM one name at a time · Override records · Drill a region loss · Migrate from Azure Private DNS

Fail over one name this afternoon

Override a single name, prove it, and keep the rest of the zone as it is.

Questions? Email us.