Skip to main content
Answer confirmed
Question

You have an Azure subscription that contains a virtual network named VNet1 and a virtual machine named VM1. VM1 is connected to VNet1 and has a dynamic private IP configuration. VNet1 is connected to the on-premises network.

Users report that they cannot resolve the VM1 name from the on-premises network.

You need to ensure that the users can resolve the VM1 name. The solution must minimize administrative effort.

What should you do?

 

Proposed answer
  • Configure the DNS server settings on VNet1.
Correct answer

Configure the DNS server settings on VNet1.

  • Incorrect – A bastion subnet will not enable name resolution.
  • Incorrect – A service endpoint won’t enable name resolution.
  • Correct -You need to configure DNS servers on the virtual network to include a DNS server that can resolve local network names, for example DNS server that is used in the on-premises network. By default, a virtual network uses Azure DNS servers that cannot resolve local network names.
  • Incorrect – The network settings will not enable name resolution.

Name resolution for resources in Azure virtual networks | Microsoft Learn