编辑etcNetworkManagerNetworkManager.conf文件[root@localhost ~]# vim etcNetworkManagerNetworkManager.conf在文件末尾添加dns=non