HostOnNet Blog


Ubuntu KVM Guest DNS resolution not working

Ubuntu use

/etc/resolv.conf

for DNS servers. You should not edit this file. If you edit, your edit will be lost on boot. You should edit

vi /etc/resolvconf/resolv.conf.d/base

Add

nameserver 8.8.8.8
nameserver 8.8.4.4

Reboot VM.

Now DNS resolution will work.


Posted in Virtualization