1 /etc/resolv.conf 其实是一个Link它其实指向的是 /run/resolvconf/resolv.conf2 Ubuntu 有一个 resolvconf 服务,如果重启它,那么 /etc/resolv.conf 的内容会被修改成默认的样子所以 不能直接修改 /etc/resolv.conf3 如果想自己定义 nameserver,那么有以下2个办法:A 在网卡的配置文件里面加:iface eth0 inet staticaddress 192.168.3.3netmask 255.255.255.0gateway 192.168.3.1dns-nameservers 202 Read More
posted @ 2013-08-27 15:30 Vman Views(249) Comments(0) Diggs(0) Edit