The DNS address of a Windows virtual machine using a Distributed Port Group is frequently lost automatically. How do I resolve this?
Symptom
The DNS address of a Windows virtual machine using a Distributed Port Group is frequently lost automatically.
Cause
The Windows virtual machine has a DNS cache issue.
Solution
-
In the virtual machine console, press the Windows key and R simultaneously, type CMD in the dialog box that appears, and press Enter to open the Command Prompt.
-
In the Command Prompt, run
ipconfig /flushdnsto flush the virtual machine DNS cache. -
In the Command Prompt, run
netsh winsock resetto reset the virtual machine Winsock catalog. -
Restart the virtual machine for the changes to take effect.