Lost connectivity to Azure VM after changing DNS to automatically obtain DNS

Chetan Kumar 1 Reputation point
2021-07-04T16:20:28.867+00:00

Dear Comrades,

Lost connectivity to Domain Controller couldn't do Windows RDP. It was configured to use ip 127.0.01, I changed it to automatically obtain DNS IP.

How can I connect to this VM and revert this change?

Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
780 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RaviVarmanMSFT 626 Reputation points Microsoft Employee
    2021-07-05T06:43:51.857+00:00

    Hi @Chetan Kumar

    Thanks for reaching us.

    Please reboot the VM. When you do changes to DNS, VM need an reboot.

    I believe you have done changes on the VM OS level , Always try to do the change of DNS from portal or powershell on the NIC of the VM not on the OS level so it is easy for you to revert the changes.

    Ref: https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-network-interface#change-dns-servers

    Hope this was helpful. Please let us know in case of any additional questions or concerns.

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

    1 person found this answer 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.