An Azure service that provides private connectivity from a virtual network to Azure platform as a service, customer-owned, or Microsoft partner services.
Hello Satish B
We have reviewed the issue with the Terraform deployment, where the creation of the Private DNS Virtual Network link failed due to an error indicating that the virtual network is already linked to multiple zones with overlapping namespaces (specifically privatelink.vaultcore.azure.net).
- This occurs because of a platform limitation in Azure Private DNS: a single Virtual Network cannot be linked to more than one Private DNS zone if those zones share the same namespace.
- In your current setup, separate Private DNS zones with the same name (privatelink.vaultcore.azure.net) were created in both the Hub and Spoke subscriptions, and the Hub VNet was linked to multiple zones with the same namespace. Azure recognizes these as overlapping and blocks the configuration.
- To resolve this, we recommend adopting a centralized Private DNS zone design. Create a single shared Private DNS zone (privatelink.vaultcore.azure.net) in one subscription, preferably the Hub, and link it to all required VNets, including the Hub and Spokes.
- This follows Azure best practices for Hub-and-Spoke architecture and ensures consistent name resolution for Private Endpoints.
- Additionally, manage all DNS records within the Hub private DNS zone. Once all configurations are moved to the Hub DNS zone and everything is functioning as expected, you can remove the Private DNS zone from the Spoke subscription If needed you can use.Check the below document for more understanding:
Azure Private Endpoint private DNS zone values
https://learn.microsoft.com/en-us/azure/architecture/networking/guide/private-link-hub-spoke-network
Azure Private Endpoint private DNS zone values
I hope the above answer helps you! Please let us know if you have any further questions.
Please don't forget to "upvote" where the information provided will help you, this can be beneficial to other members of the community.
and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.