Hello @J Mod
Based on the information you provided, it is possible that the issue is related to DNS resolution. When you create a private endpoint for your Azure SQL Server, it creates a private DNS zone that resolves the server's Fully Qualified Domain Name (FQDN) to the private IP address of the server.
This private DNS zone is linked to the virtual network where the private endpoint is created.
To allow both public access and private endpoint working at the same time, you need to configure DNS resolution for both scenarios.
If you are connecting to the private endpoint from a VNet, you can use the same private zone that was created with the Azure SQL Database. If you are connecting to the private endpoint from a branch (Site-to-site VPN, Point-to-site VPN, or ExpressRoute), you need to use on-premises DNS resolution.
In your case, it is possible that the DNS resolution for your subnets is not configured correctly after creating the private endpoint.
You can try the following steps to troubleshoot the issue:
- Check if the private DNS zone is linked to the virtual network where the private endpoint is created. You can do this by going to the virtual network's DNS settings and checking if the private DNS zone is listed under the DNS servers.
- Check if the private DNS zone is resolving the server's FQDN to the private IP address. You can do this by running an
nslookup
command from a virtual machine in the virtual network. For example, you can run the following command: nslookup yourserver.privatelink.database.windows.net
. If the private DNS zone is configured correctly, the command should return the private IP address of the server.
- Check if the DNS resolution for your subnets is configured correctly. You can do this by checking the DNS settings for your subnets and making sure that they are using the same DNS servers as the virtual network where the private endpoint is created. If you are still facing issues after trying these steps, you can try contacting Microsoft support for further assistance.
I hope this helps you further:
I hope that this response has addressed your query and helped you overcome your challenges. If so, please mark this response as Answered. This will not only acknowledge our efforts, but also assist other community members who may be looking for similar solutions.