标签:os res ubuntu server ip on ca 动态
cat /etc/resolv.conf (查看resolv.conf中的内容: nameserver 是动态添加的……)
#通过添加/etc/resolvconf/resolv.conf.d/base, 间接向/etc/resolv.conf添加nameserver
sudo vi /etc/resolvconf/resolv.conf.d/base (添加下面两行)
nameserver 8.8.8.8
nameserver 8.8.4.4
sudo resolvconf -u
#/etc/resolv.conf内容已改变
cat /etc/resolv.conf
ubuntu server unable to resolve host,布布扣,bubuko.com
ubuntu server unable to resolve host
标签:os res ubuntu server ip on ca 动态
原文地址:http://www.cnblogs.com/barfoo/p/3876259.html