我是linux菜鸟,刚装上fedora11,先设置网卡:
[root@linux etc]# vi /etc/sysconfig/network-scripts/ifcfg-eth0
# Networking Interface
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
HWADDR=00:13:D3:89:1C:D9
IPADDR=10.10.11.34
NETMASK=255.255.255.0
GATEWAY=10.10.11.200
DNS1=202.106.0.20 //在这里设置DNS服务器就可以了
DNS2=10.10.17.53 // 在这里设置DNS服务器就可以了
然后再重启网络
[root@linux etc]# service network restart
以后再重启就不用再设重新设置DNS了