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