Client DNS resolution in Azure Virtual WAN

IgorTTG 20 Reputation points
2025-03-17T08:02:26.1966667+00:00

Hi MS crew!

I recently deployed an Azure Virtual Hub and I'm facing with DNS resolution issues?! I deployed storage account with private endpoint with ip address: 10.10.10.4. My DNS resolver is deployed on the same Vnet as my private endpoint and it has the IP address of 10.10.9.4.

When I execute nslookup storagename.blob.core.windows.net 10.10.9.4 I'm able to resolve but not without providing the DNS resolver ip address (nslookup storagename.blob.core.windows.net)

I tried to enter the dns server block into the azurevpnconfig.xml but still without success!

  <clientconfig>

    <dnssuffixes>
          <dnssuffix>.privatelink.blob.core.windows.net</dnssuffix>
    </dnssuffixes>
	
	<dnsservers>
		<dnsserver>10.10.9.4</dnsserver>
    </dnsservers>

  </clientconfig>

Thanks in advance!

Azure Virtual WAN
Azure Virtual WAN
An Azure virtual networking service that provides optimized and automated branch-to-branch connectivity.
260 questions
{count} votes

Accepted answer
  1. Praveen Bandaru 5,215 Reputation points Microsoft External Staff Moderator
    2025-03-17T17:20:21.6433333+00:00

    Hello IgorTTG

    Greetings!

    Thank you for your response.By default, DNS servers within a virtual network are configured to direct point-to-site clients through a VPN gateway. When you designate the Private resolver incoming IP address as a custom DNS server for the virtual network, these IP addresses will be automatically assigned to clients as the VPN DNS server. This setup facilitates smooth record resolution from private DNS zones, including private endpoints.

    For a clearer understanding of the issue, please refer to the document.

    https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-troubleshoot-vpn-point-to-site-connection-problems#i-cant-resolve-records-in-private-dns-zones-using-private-resolver-from-point-to-site-clients

    With out conditional forwarder it will not work as expected you need to set a conditional forwarder on your on-prem DNS server machine pointing to the private DNS resolver IP this the Microsoft recommended scenario.

    User's image


    Hope the above answer helps! Please let us know do you have any further queries.

    Please do consider to “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.