Azure P2S VPN DNS resolution issue

krutibasa majhi 0 Reputation points
2025-01-10T11:44:08.0233333+00:00

Hi All,

I have set up an Azure Point-to-Site (P2S) VPN using Entra ID authentication. I have routed all VPN traffic through Azure Firewall, and in the firewall, I have allowed the VPN address pool to access all VNet CIDR ranges. I am able to connect to the VPN and successfully use SSH and RDP to connect to virtual machines. However, I am unable to access the Azure Container application URL. The VNet is using the default Azure-provided DNS. I verified that the same application URL resolves to the internal IP address when accessed from a virtual machine within the VNet, but it does not resolve through the VPN.

I tried modifying the XML file to include the DNS entry 168.63.129.16, and I can see the DNS IP in the Azure VPN client. However, when checking using cmd or PowerShell, the DNS information is not visible.

Could you please guide me on how to fix this issue?

Thanks

Kruti

Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
713 questions
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.
1,608 questions
{count} votes

Your answer

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