简体   繁体   中英

Azure VM Disconnects after changing DNS

I have an public Azure VM instance running Windows 10. I changed the DNS to Google DNS and I loose RDP connection. Why?

While changing the DNS servers, please follow below steps:

  • Changing the DNS servers to Google DNS servers can be done via Azure portal or PowerShell.
  • From Azure Portal , Navigate to your .NET, click on DNS servers and enter the DNS server IPs.
  • After doing changes to DNS, Virtual Machine need a reboot . Make sure to reboot the VM.
  • This change can be done on the NIC of Virtual Machine not on the OS level.
  • Resize the Virtual Machine , if reboot doesn't restore connectivity. This should return the RDP and the DNS entry you defined.
  • Try redeploying the Virtual machine.
  • Otherwise, Try resetting the Remote Desktop configuration.
  • Try Checking the Network Security Group rules.
  • Try Resetting the NIC for the VM.

To know more in detail, please refer below links:

Lost connectivity to Azure VM after changing DNS to automatically obtain DNS - Microsoft Q&A .

Cannot connect with RDP to a Windows VM in Azure - Virtual Machines | Microsoft Docs

VM getting disconnected after changing preferred DNS IP (microsoft.com) .

Change VM DNS Servers - Microsoft Q&A .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM