先编辑/etc/resolv.conf, 添加一个DNS, 比如114.114.114.114
然后sudo apt-get install resolvconf
然后编辑/etc/resolvconf/resolv.conf.d/original, 添加DNS设置, /etc/resolv.conf就会自动同步
——记录2017到2026成长
先编辑/etc/resolv.conf, 添加一个DNS, 比如114.114.114.114
然后sudo apt-get install resolvconf
然后编辑/etc/resolvconf/resolv.conf.d/original, 添加DNS设置, /etc/resolv.conf就会自动同步