标签: resolvconf
thumbnail

简单粗暴的Ubuntu添加DNS方法,永久有效的那种

简单粗暴上代码,直接复制粘贴运行即可: apt-get install -y resolvconf echo "TRUNCATE_NAMESERVER_LIST_AFTER_127=no">>/etc/default/resolvconf cat……