﻿id	summary	reporter	owner	description	type	status	component	version	resolution	keywords	cc	guest	host
6081	Update DNS server list on DHCPRELEASE/RENEW and DHCPINFORM.	Joe		"Related forum thread: [http://forums.virtualbox.org/viewtopic.php?f=1&t=27244 NAT guest does not get correct DNS when host uses dial-up (View topic) • virtualbox.org]

This applies to guests using NAT and (as default) not using the DNS proxy feature.

When the host changes its DNS servers, e.g. in the case of a notebook computer moving to a different location, or any computer where the main ADSL internet connection fails and another connection e.g. 3G is used as backup, guests are unable to retrieve the new DNS servers. It's acceptable that they have to renew the DHCP lease, but when they do so, they still get the old DNS servers. This is clearly an incorrect behaviour on the part of virtualbox.

(Guests can access sites via IP address. This only affects DNS resolution.)

Verified with both Ubuntu 9.10 host and Windows XP SP2 host running virtualbox 3.1.2 r56127, and windows XP guests. (It's the same with 3.0.12 r54655.)

The attached file shows the DHCP + DNS settings on the (windows) host and the guest before changing upstream connection, and again after changing upstream connection and running ''ipconfig /renew'' in the windows guest. Results are identical with an Ubuntu host.

Related bugs: [http://www.virtualbox.org/ticket/4680 #4680 (If network settings are changed on host in lifetime of guest, guest can't access network) - VirtualBox] describes a relevant use case, but was marked as a duplicate of [http://www.virtualbox.org/ticket/3847 #3847 (re-initiate NAT on Network switch) - VirtualBox] - the latter ticket is marked fixed by the option to use the DNS proxy feature, but that is only a workaround - the faulty behaviour when not using DNS proxy still needs to be fixed.
"	defect	closed	network/NAT	VirtualBox 3.1.2	fixed	dns nat		other	other
