Ticket #2014 (closed defect: fixed)

Opened 14 years ago

Last modified 13 years ago

Name Resolution for NAT Doesn't Work on Windows Host if One of Two DNS Servers Goes Down

Reported by: lherrera Owned by:
Component: network/NAT Version: VirtualBox 1.6.4
Keywords: Cc:
Guest type: other Host type: Windows


My virtualbox image couldn't communicate with the external network today after one of our DNS servers went down. Windows applications continue to work since they switched to using a secondary name server, but VirtualBox couldn't manage.

For example, Windows reports the following:

C:\> ipconfig /all

Windows IP Configuration

Host Name . . . . . . . . . . . . : PCSHPQL0062982

... Ethernet adapter Local Area Connection: ...

DNS Servers . . . . . . . . . . . :


When is unavailable, all applications except VirtualBox continue to work normally. Virtual machines cannot resolve names, even after restarting VirtualBox. Changing the DNS setup of the guest by explicitly listing the secondary DNS entry above fixes the problem. Although that works, it is an undesirable solution since the DNS configuration on the host changes depending on its location (office, home, VPN) and it would require the guest to be manually setup everytime I change locations. VirtualBox should use secondary DNS servers on the host when a primary one becomes unavailable.

After a lot of research, this gave me a clue:

Change History

comment:1 Changed 14 years ago by frank

  • Component changed from network to network/NAT

comment:2 Changed 13 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

This was fixed in VirtualBox 2.2.0. Please check version 2.2.2.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use