Ganti DNS Ubuntu secara Permanen
Install dan jalankan service resolvconf :
sudo apt install resolvconf
sudo systemctl enable --now resolvconf.serviceedit file /etc/resolvconf/resolv.conf.d/head, tambahkan :
nameserver 8.8.8.8
nameserver 8.8.4.4
update DNS dengan perintah berikut:
sudo resolvconf -uterakhir cek DNS:
cat /etc/resolv.conf