修改DNS的配置文件# vi /etc/resolv.conf修改以下内容#DNS1 202.100.64.68 保存退出。在 中修改 ifcfg-eth0,添加语句nameserver 202.100.64.68 保存退出。四、重新启动网络配置# service network restart