解决Ubuntu 18.04修改/etc/resolv.conf重启后失效

编辑 /etc/resolvconf/resolv.conf.d/base

写入希望修改的DNS服务器:

nameserver 8.8.8.8

应用更改:

sudo resolvconf -u