Share via

Problem while connecting to Azure-SQL using Azure-VPN

Amir Meshkati 61 Reputation points
2021-05-18T08:05:38.56+00:00

Hi,

I have the same problem as this person at StackOverFlow. But the answer didn't help me. That's the reason I am asking it here:
https://stackoverflow.com/questions/64949196/how-do-i-force-the-azure-vpn-client-to-use-the-virtual-networkss-dns-servers

I am trying to connect to our Azure-SQL using Azure-VPN.

I have successfully generated an Azure Point-to-Site VPN with Azure AD Authentication.
Using Azure-VPN-Client I can successfully generate the connection.
But as I run the command "nslookup OurServer.database.windows.net", my own private IP gets printed on the command line!

It seems that I could not succeed in the first step. (I have already generated a Private endpoint for connecting to Azure-SQL. But that would be the second step.)

Does anyone have an Idea, what should I do?

Thanks:)

Azure VPN Gateway
Azure VPN Gateway

An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.

0 comments No comments

Answer accepted by question author

TravisCragg-MSFT 5,701 Reputation points Microsoft Employee Moderator
2021-05-25T18:46:51.177+00:00

This is a known limit with VPN & Private endpoint. This is discussed Here in a feedback.azure.com page
, and a potential bulky workaround with a DNS forwarder and Azure VM.

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.