Search code examples
azureazure-vpnazure-private-dns

Azure Point-to-Site VPN Client: How to configure the Azure Private DNS Resolver IP?


I connected to the Azure Network using the Azure Point-to-Site VPN Client. Additionally, I configured the Azure Private DNS Resolver, and I was able to resolve the Private Endpoint by specifying the IP address of the Azure Private DNS Resolver.

C:\>nslookup kv-prod-centralus-d4.privatelink.vaultcore.azure.net 10.0.0.36

Server: UnKnown

Address: 10.0.0.36

Non-authoritative answer:

Name: kv-prod-centralus-d4.privatelink.vaultcore.azure.net

Address: 10.1.3.5

I don't want to specify the IP address of the Azure Private DNS Resolver in the nslookup command.

According to my understanding, Azure Point-to-Site VPN Client Configuration should include the IP address of the Azure Private DNS Resolver.

I see the following configuration file part of the VPN zip file

enter image description here

However, I'm not sure how to update the Azure Point-to-Site VPN Client configuration


Solution

  • I tried to reproduce the same in my environment and got the below results

    I have created the virtual network and VPN gateway configured the point to site vpn and downloaded the vpn certificate

    enter image description here

    Below is my configuration xml file

    enter image description here

    I have downloaded the VPN client using this Reference URL

    I have imported the Client configuration file that will be download from the VPN gateway

    enter image description here

    After importing the file given the filename saved that file

    enter image description here

    Connect the VPN by clicking the Connect button

    enter image description here

    We can also connect the by clicking the VPN settings

    enter image description here

    And search for the network we want to connect and click on connect

    enter image description here

    For related information check this reference URL