centos7修改dns的方法是:1、编辑NetworkManager.conf文件,添加【dns=none】;2、重启网卡服务;3、编辑resolv.conf文件,添加【nameserver 114.114.114.114】。
技术文章 / 下载软件趣味内容 / 专业带飞