修改linux服务器的resolv.conf文件,注释掉所有的DNS配置; [root@wh-vm-ip34 etc]# vi /etc/resolv.conf #注释掉所有的DNS配置并保存 # Generated by NetworkManager #nameserver 114.114.115.115 #nameserver 114.114.114.114