No internet Access on Azure DC VM

Humphrey Simpemba 1 Reputation point
2021-04-16T13:29:19.047+00:00

I have deploy a VM on Azure which is a DC and also deployed AzureVPN. Am able to connect to the VPN fine and access the Azure VM by its local IP: 10.1.0.5. Issue is am unable to join the local computer to the Domain on AzureVM via the AuzreVPN.
I can only join the local computer to DC VM if I change the DNS of the Azure Virtual Network to the DC VM Private IP. Issue is the DC VM looses internet after that and am unable to browse on the DC VM or any online services looses connection, though still the DC VM is still accessible via its Public IP by RDP. How can I resolve the internet issue?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
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.
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.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Andreas Baumgarten 129.4K Reputation points MVP Volunteer Moderator
    2021-04-16T16:58:48.437+00:00

    Hi @Humphrey Simpemba ,

    if you change the DNS of the Azure Virtual Network to the DC VM Private IP you should add a DNS Forwarder in the DC DNS Server Settings as well.
    This way the DNS name resolution request is forwarded from the DC DNS to a public DNS Server in the internet (if the DC DNS can't resolve the name by itself)

    88672-image.png

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.