DNS queries fail, while IP addresses work, after upgrade from Ubuntu 16.10 to 17.04 in VirtualBox. Applied updates to 16.10 before upgrading to 17.04.

i.e. sudo apt update && sudo apt full-upgrade except I did the update and upgrade via gui.

  • Can you post the exact command and address you are using to try these DNS queries? Apr 17, 2017 at 11:08
  • Possible duplicate of DNS resolution fails after wakeup from standby (Ubuntu 16.10)
    – se0D2
    Apr 17, 2017 at 11:10
  • ping works, while ping www.sun.com fails on the upgraded 17.04, but works everywhere else. I restarted the 17.04 system several times but this did not help.
    – Elaisa
    Apr 17, 2017 at 11:13
  • ping www.sun.com fails
    – Elaisa
    Apr 17, 2017 at 11:13
  • Post cat /etc/resolv.conf from host and VM (presuming VM is also *nix)
    – Mark
    Apr 17, 2017 at 11:17

1 Answer 1


I had the same problem after upgrading. Though I didn't investigate the issue too much thus have no deep undestanding of the root cause, in my env it was fixed by editing system config file /etc/NetworkManager/NetworkManager.conf and adding the following entry to the global section: dns=dnsmasq .

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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