Private connectivity DNS compared: Azure Private Endpoint with Private DNS zones versus AWS PrivateLink with Route 53

Boryslav Deputat 0 Reputation points
2026-11-23T04:50:50.9866667+00:00

We run hub-and-spoke networks on both Azure and AWS and private connectivity DNS behaves very differently. On Azure, Private Endpoints rely on privatelink DNS zones linked to VNets, usually with a central resolver in the hub. On AWS, interface VPC endpoints create their own DNS names per VPC, and shared endpoints through Route 53 Resolver rules or a central endpoint VPC are a design choice with real trade-offs. For people who operate both: which model proved easier to run at scale across many subscriptions and accounts, and where did each one bite you? I am especially interested in cross-account endpoint sharing on AWS versus cross-subscription zone links on Azure, and in how you handle a spoke or VPC that needs its own local private endpoint. Production experience preferred over documentation summaries.

Azure Virtual Network
Azure Virtual Network

An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.

0 comments No comments

2 answers

Sort by: Oldest
  1. AI answer

    2026-11-23T04:51:11.3233333+00:00

    For this topology, the documented baseline is a centralized Private DNS zone per privatelink.* namespace, linked to every VNet that must resolve the private endpoint name. In hub-and-spoke, Microsoft explicitly recommends using the same private DNS zone for hub and all spokes that contain clients needing resolution, rather than creating duplicate zones per spoke.

    Key tradeoffs between the two patterns:

    1. Single zone linked to hub and all spokes
      • Best fit when Azure workloads in multiple spokes must resolve private endpoint names directly.
      • Avoids the unsupported/fragile pattern of creating multiple zones with the same name and then trying to merge records manually.
      • Works across subscriptions: the same private DNS zone can be linked to hub and spoke VNets in different subscriptions.
      • Fits the platform guidance that private endpoint records should be automatically created in the centralized zone and removed when the private endpoint is deleted.
      • If a spoke later adds its own private endpoint for the same Azure service type, the spoke should still use the same centralized zone, typically through a private DNS zone group, so records stay lifecycle-managed.
    2. Zone linked only to hub, spokes use central DNS forwarding/resolution
      • Supported in a centralized DNS architecture when spoke VNets send DNS traffic to the hub by using custom DNS settings.
      • In that model, the hub-linked zone can answer for spoke workloads because DNS queries are sent to the hub.
      • This is useful when DNS control is intentionally centralized.
      • But it depends on the spoke DNS path being correctly configured. If a spoke uses custom DNS and that DNS path is not forwarding correctly, the spoke will not automatically resolve Azure Private DNS zones.

    What breaks with duplicate per-spoke zones:

    • A single VNet cannot be linked to multiple private DNS zones with overlapping namespaces. For example, one VNet cannot be linked to two separate privatelink.vaultcore.azure.net zones, even if those zones are in different subscriptions.
    • Microsoft guidance also states that for peered VNets sharing a private endpoint, a single private DNS zone is required; multiple zones with the same name create manual record merge overhead.

    What to do when a spoke needs its own private endpoint:

    • Keep using the same centralized privatelink.* zone for that service namespace.
    • Use a private DNS zone group on the private endpoint so records are automatically managed.
    • Do not create another zone with the same namespace in the spoke if the same VNets might need to link to both, because overlapping namespace links are blocked.

    Operational considerations called out in the documentation:

    • In hub-and-spoke, creating private DNS zones once in the hub and letting spokes register to them is a common scenario.
    • A DNS zone group can support up to five DNS zones.
    • A single private endpoint does not support multiple DNS zone groups.
    • If Azure Firewall DNS proxy is used for FQDN-based network rules, spoke VNets must change DNS settings to the firewall private IP, and all VMs in that VNet must be rebooted after the DNS setting change.
    • In centralized DNS with Private Resolver forwarding rules, avoid adding a forwarding rule for the private zone in the ruleset if that would create a DNS resolution loop.

    Practical conclusion from the documented patterns:

    • If the goal is the simplest and most predictable private endpoint name resolution across hub and spokes, use one centralized private DNS zone per namespace and link it to all VNets that need resolution.
    • If DNS is intentionally centralized through hub-based custom DNS or Private Resolver, hub-only zone linking can work, but it adds dependency on the DNS forwarding design and is less forgiving of misconfiguration.
    • For spoke-local private endpoints, extend the same centralized zone model rather than creating duplicate zones per spoke.

    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

  2. Eber Daniel Perez 485 Reputation points
    2026-12-02T15:57:26.1066667+00:00

    Hi Boryslav,

    I'll answer the Azure side, which is where I work every day; someone with more AWS mileage can compare the other half better.

    On Azure, the model that scales across many subscriptions is the one in the Cloud Adoption Framework guidance "Private Link and DNS integration at scale". The key is that app teams never touch DNS:

    1. One set of privatelink.* zones, central. They live in the connectivity subscription. A zone can be linked to VNets in other subscriptions, so you don't need per-subscription zones.
    2. Spokes resolve through the hub. Spoke VNets use custom DNS pointing to the hub (DNS Private Resolver inbound endpoint, or Azure Firewall DNS proxy if you need FQDNs in network rules). The resolver forwards to 168.63.129.16, and the zones are linked where that resolution happens.
    3. Azure Policy does the work, not people.
      • A Deny policy for creating zones whose name contains privatelink. in the landing zone subscriptions. This avoids the classic problem: a team creates its own privatelink.blob.core.windows.net, it shadows the central one and resolution breaks for some VNets.
      • A DeployIfNotExists policy that adds the privateDnsZoneGroup on every private endpoint, pointing to the central zone. The record is created automatically and removed when the PE is deleted.
      • Detail that usually bites: the policy's managed identity needs Private DNS Zone Contributor on the subscription/RG where the central zones live. Without it, remediation fails.
    4. A spoke that needs its own local private endpoint: same pattern. The PE is created in the spoke, but the record goes to the central zone through the zone group. Don't create another zone with the same name in the spoke: a VNet can't be linked to two zones with the same name, and multiple zones with the same name mean merging records by hand.
    5. On-premises: conditional forwarders on your on-prem DNS to the hub resolver, for the public zone (for example database.windows.net), not for privatelink.database.windows.net. This is a very common mistake.

    Where it hurts on Azure: the first setup (zones, links, policies, identity roles) takes work, and DNS zone groups have limits (up to five zones per group, only one zone per zone name, one group per PE). Once it's in place, it runs almost by itself.

    Docs:

    Hope it helps!

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.