question

ChetanKumar-0575 avatar image
0 Votes"
ChetanKumar-0575 asked PawelIzycki-7483 commented

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

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
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

RaviVarmanMSFT-5919 avatar image
1 Vote"
RaviVarmanMSFT-5919 answered PawelIzycki-7483 commented

Hi @ChetanKumar-0575

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

Did the trick for me

0 Votes 0 ·