HostOnNet Blog

Ubuntu KVM Guest DNS resolution not working

Looking for Linux Server Admin or WordPress Expert? We can help.

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

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.