An application needs to call Key Vault, Storage and ACR privately from a spoke. How do you structure Private DNS for many spokes?
AdvancedScenarioNetworking Design
Answer
Situation read → Central private DNS zones in the connectivity subscription, linked once to the hub, resolved via the DNS resolver.
What I'd do →
- Create one zone per service type centrally:
privatelink.vaultcore.azure.net,privatelink.blob.core.windows.net,privatelink.azurecr.io - Link them to the hub VNet; spokes use the hub resolver inbound IP (or the firewall DNS proxy) as their DNS server
- Use Azure Policy (DeployIfNotExists) to create DNS zone group records automatically when spokes create Private Endpoints
- Deny creation of
privatelink.*zones in spokes by policy to avoid split-brain
Why → One zone per service tenant-wide avoids duplicate zones that resolve differently in different places.
Interview tip → "Duplicate privatelink zones" is the root cause of most enterprise PE DNS incidents.
More on Networking Design
Design the network for a new three-tier app in Central India that must be private except for the web front end.IntermediateSpoke A can't talk to spoke B, both peered to the hub. What design change makes it work?BeginnerWorkloads must reach Azure SQL privately, including from on-prem over ExpressRoute. How do you set it up?AdvancedYou need all outbound traffic from AKS to go through Azure Firewall. How do you do it?AdvancedA partner needs to whitelist a single egress IP from your App Service and AKS workloads. How?IntermediateYou're asked to expose an internal API to a customer's Azure tenant without VNet peering. How?Advanced