resolve

DNS resolve.conf UBUNTU 18.04

apt-get install resolvconf
 
/etc/resolvconf/resolv.conf.d/head
nameserver 8.8.8.8
nameserver 8.8.4.4
 
service resolvconf restart