2014年7月27日星期日

ubuntu 14.04 的 dns nameserver

ubuntu 14.04 的DNS设置不能再用 /etc/resolv.conf 来管理


If you are using ubuntu 14.04, you may find you can not setting dns on your /etc/resolv.conf
This is because ubuntu using resolvconf to manage the dns setting, every times system boot, resolvconf will regenerate resolv.conf file.

But there always have way to do this.
vim /etc/resolvconf/resolv.conf.d/head  

在最新的ubuntu 14.04中,/etc/resolv.conf 在系统重启之后,会被重新生成,这样你原来配置的DNS就消失了,但是,你可以设置

没有评论:

发表评论