playlinuxxx 2020-02-17
#取消NetworkManager管理 NM_CONTROLLED=no
systemctl restart network
vim /etc/NetworkManager/NetworkManager.conf
在[main]中添加
dns=no
vim /etc/resolv.conf
添加
#主DNS服务器 nameserver 223.5.5.5 <----阿里dns #备DNS服务器 nameserver 114.114.114.114
systemctl restart NetworkManager