question

NibrasAK-8777 avatar image
0 Votes"
NibrasAK-8777 asked NibrasAK-8777 commented

Issue with resolving name from VM in Test subscription to P2S On premises Work stations

Hello,

Need help on this. We are facing an issue with resolving the name from VM in Test subscription to P2S On-premises Work stations but are able to ping IP address. Our topology is like we have 2 subscriptions, Test and production.
VMs in Test and Productions can talk to each other as Vnet peering is done in between them. Production subscription has a single Vnet which is connected to a Virtual network gateway for Point to site VPN, so on-premise device using VPN to this.
Now we are able to ping Ip addresses across VMs in Test subscriptions to Production subscription and Test subscriptions to On-premise device and vice versa. we have created a private DNS zone as well for Vnet is Test and Production subscriptions.
But not resolving names if I ping DNS name from the Test server to the On-premise device. But name resolution working from on-prem device to VMs in Test subscriptions and Production subscriptions.
VMs in Productions are domain joined and On-prem device are also domain-joined. but VM in test subscriptions is not domain-joined.

Please help to resolve name resolution from VMs in Test Subscriptions to On-prem device.

azure-virtual-networkazure-ad-domain-servicesazure-vpn-gatewayazure-dns
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

GitaraniSharmaMSFT-4262 avatar image
0 Votes"
GitaraniSharmaMSFT-4262 answered NibrasAK-8777 commented

Hello @NibrasAK-8777 ,

Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.

Name resolution for resources in Azure virtual networks have different scenarios, depending on which there are different DNS setups/solutions required to achieve the same.
You can find the list of name resolution scenarios in Azure and their solutions in the below link:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-name-resolution-for-vms-and-role-instances

116001-image.png

What is your DNS setup? Are you using your own custom DNS server? You need to look into the below setup for more clarity on name resolution to and from Azure:

115888-image.png

Kindly let us know if the above helps or you need further assistance on this issue.


Please "Accept the answer" if the information helped you. This will help us and others in the community as well.



image.png (22.7 KiB)
image.png (249.6 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @GitaraniSharmaMSFT-4262 The Custom DNS server on Test server resolved issue. as well as we have added On prem device name in Azure private dns zone.

1 Vote 1 ·