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

Nibras A K 26 Reputation points
2021-07-17T11:14:53.117+00:00

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 DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
593 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,379 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,139 questions
Microsoft Entra
0 comments No comments
{count} votes

Accepted answer
  1. GitaraniSharma-MSFT 47,316 Reputation points Microsoft Employee
    2021-07-19T14:13:13.053+00:00

    Hello @Nibras A K ,

    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://learn.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.


0 additional answers

Sort by: Most helpful