/etc/resolvconf/resolv.conf.d/headdan tambahkan dengan daftar DNS default yang ingin kita gunakan, contohnya :
nameserver 8.8.8.8
nameserver 8.8.4.4
Jika sudah, jalankan :
sudo resolvconf -u
Referensi
- How do I set my DNS when resolv.conf is being overwritten?, http://unix.stackexchange.com/questions/128220/how-do-i-set-my-dns-when-resolv-conf-is-being-overwritten
No comments:
Post a Comment