Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
From your verbatim, I believe you are running into the below issue,
Existing Private DNS Zones linked to a single Azure service should not be associated with two different Azure service Private Endpoints. This will cause a deletion of the initial A-record and result in resolution issue when attempting to access that service from each respective Private Endpoint. Create a DNS zone for each Private Endpoint of like services. Don't place records for multiple services in the same DNS zone.
See : Caution | Azure Private Endpoint private DNS zone
- This is because a Private DNS Zone can not have multiple records with the same name.
- In your case, with the Private EndPoint of AKS VNET, let's say you have
- <YOURSQLServer>.database.windows.net -----> IP of PE in AKS VNET
- Now, this means you cannot have
- <YOURSQLServer>.database.windows.net -----> IP of PE in VNETA
or - <YOURSQLServer>.database.windows.net -----> IP of PE in VNETB
- <YOURSQLServer>.database.windows.net -----> IP of PE in VNETA
I would suggest you create 3 separate Private DNS Zones to hold the record for each Private EndPoint, each having the PE IPs respectively
Kindly let us know if this helps or you need further assistance on this issue.
Thanks,
Kapil
Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.