ubuntu 在/etc/network/interfaces设置了dns-nameservers x.x.x.x 无效
时间:2021-06-07 16:40:35
收藏:0
阅读:11
需要安装resolvconf包
# sudo apt install?resolvconf
然后在/etc/network/interfaces 写入
dns-nameservers 114.114.114.114 8.8.8.8
注意: 多个dns以空格隔开
原文:https://blog.51cto.com/u_5437315/2875778
评论(0)