修改dns:vim /etc/resolv.conf

修改host:vi /etc/hosts

 

再执行/etc/rc.d/init.d/named restart   使之生效