Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

[x-post to vbox forums]

Virtualbox: Ubuntu 12.04 host, WinXP SP3 guest.

The recent change in DNS handling in Ubuntu 12.04 is described here. It means that a NAT'ed WinXP host will receive a DNS server IP, which prevents DNS from working out-of-the-box in the guest.

A workaround is to set the DNS Server(s) manually in the guest every time.

What is the recommended virtualbox setup for hosts running resolvconf (assuming the host does not have a static IP) to make DNS work seamlessly in the guest?

share|improve this question

1 Answer 1

From https://forums.virtualbox.org/viewtopic.php?f=7&t=49519#p226989

Run on the host:

VBoxManage modifyvm "VM name" --natdnshostresolver1 on
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.