Please vote on this issue by adding a :thumbsup: reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave comments along the lines of "+1", "me too" or "any updates", they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.
I have Hub with Private DNS resolver, inbound endpoint
I have all private DNS zones created in the hub, such as "privatelink.vaultcore.azure.net", "privatelink.mysql.database.azure.com"
Spokes are connected to Hub
All spoke custom DNS is the inbound endpoint of the hub private resolver.
This configuration allows me to create private link of Key Vault in Hub without linking private DNS zone to spoke vnet.
But the same configuration fails when I try to create the private link to MySQL Flexible server
│ Status: "VnetNotLinkedToPrivateDnsZone"
│ Code: ""
│ Message: "The virtual network 'vnet-spk-nonprod' is not linked to private DNS zone 'privatelink.mysql.database.azure.com'. Please link the virtual network to zone and retry."
│ Activity Id: ""
Expected Behaviour
It should allow the creation of a MySQL private link without linking the vent to a private DNS zone.
Is there an existing issue for this?
Community Note
Creating MySQL Flexible Server fails. Error "VnetNotLinkedToPrivateDnsZone" I am following Centrlized DNS Architecture https://learn.microsoft.com/en-us/azure/dns/private-resolver-architecture#centralized-dns-architecture
That means,
This configuration allows me to create private link of Key Vault in Hub without linking private DNS zone to spoke vnet. But the same configuration fails when I try to create the private link to MySQL Flexible server
Terraform Version
1.9.8
AzureRM Provider Version
3.116.0
Affected Resource(s)/Data Source(s)
azurerm_mysql_flexible_server
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
It should allow the creation of a MySQL private link without linking the vent to a private DNS zone.
Actual Behaviour
fails with error
VnetNotLinkedToPrivateDnsZone
Steps to Reproduce
No response
Important Factoids
No response
References
No response