Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

[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


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.