VirtualBox

Opened 10 years ago

Closed 10 years ago

#12716 closed defect (fixed)

Natnetwork doesn't update DNS settings

Reported by: Peter Hull Owned by:
Component: network Version: VirtualBox 4.3.6
Keywords: natnetwork Cc:
Guest type: Linux Host type: Windows

Description

I have been trying the experimental NAT network setting. I find that if I move the host (laptop) from one WiFi network to another it doesn't update the DNS settings. My guest still has network access (using numeric IP, but the DNS servers are still the ones from the previous host network). What I'm doing is: In location 1, Start VBox Start guest (all fine) Shutdown guest Close VBox Move to location 2 Start VBox Start guest Guest still has old DNS servers

If I reboot the host in location 2, all is fine again. Attached the VBox.log from starting the guest in location 2, output of ifconfig/all on the host in location 2, and output of nm-tool on the guest in location 2. Note DNS server is 194.168.4.100 which would have been correct for location 1.

If I use the older NAT option for networking I don't get this problem.

Host: windows 8.1 64-bit Guest: Xubuntu 13.10 (3.11.0-15-generic)

Attachments (4)

Xubuntu-2014-02-18-11-18-21.log (64.4 KB ) - added by Peter Hull 10 years ago.
VBox log
host-ipconfig-2014-02-18 (3.0 KB ) - added by Peter Hull 10 years ago.
Host's config
xubuntu-nm-tool-2014-02-18 (587 bytes ) - added by Peter Hull 10 years ago.
Guest's network config
VBoxSVC.log (7.1 KB ) - added by Peter Hull 10 years ago.
VBoxSVC log

Download all attachments as: .zip

Change History (10)

by Peter Hull, 10 years ago

VBox log

by Peter Hull, 10 years ago

Attachment: host-ipconfig-2014-02-18 added

Host's config

by Peter Hull, 10 years ago

Attachment: xubuntu-nm-tool-2014-02-18 added

Guest's network config

comment:1 by Peter Hull, 10 years ago

Seems to be because VBoxSVC.exe is still running even when all visible VirtualBox windows are closed. If I terminate that process I get DNS back without having to reboot the host.

comment:2 by Peter Hull, 10 years ago

Further to this, if I start a VM which doesn't use natnetwork, VBoxSVC.exe terminates 5 seconds after the UI window is closed (from my reading of the code, this is correct). However if the VM does use natnetwork then it stays running for a variable time period (I've seen 10-15 minutes) then closes. Log attached.

by Peter Hull, 10 years ago

Attachment: VBoxSVC.log added

VBoxSVC log

comment:3 by vasily Levchenko, 10 years ago

Could you please check whether 4.3.8RC1 handle DNS update for you?

comment:4 by Peter Hull, 10 years ago

I tried 4.3.8_RC1r92386 moving between three different wifi networks and (with limited testing) it seems to have solved the problem. Thanks.

comment:5 by vasily Levchenko, 10 years ago

Thank you for testing.

comment:6 by Frank Mehnert, 10 years ago

Resolution: fixed
Status: newclosed

In that case let's close this ticket as 4.3.8 was just released.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use