Something like this
https://github.com/Azure/Community-Policy/tree/master/Policies/Network/enforce_vnet_dns_servers
Or you can do it via powershell/automation: powershell scans for DNS and if not linked, a condition will link it
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
We currently have a hub and spoke setup with our Custom DNS on a single Subscription. what we want to do is if new DNS zones are created they get linked to the Custome DNS Vnet.
Could this be done by azure policy
Something like this
https://github.com/Azure/Community-Policy/tree/master/Policies/Network/enforce_vnet_dns_servers
Or you can do it via powershell/automation: powershell scans for DNS and if not linked, a condition will link it