linux 设置静态IP DNS

 环境:centos5

 

配置DNS:

echo "nameserver 211.98.1.28">> /etc/resolv.conf

 

 

1.refurl: 

http://os.51cto.com/art/201003/186930.htm

 

2.linux 防火墙开通端口

http://hi.baidu.com/wlbing0625/item/fc3f8ec6b1f38dc2984aa096

 

 

你可能感兴趣的:(linux)