Ubuntu14.04修改DNS服务
2015-01-22 10:04
204 查看
Ubuntu14.04修改DNS服务
http://www.netroby.com/view.php?id=3630#.U4aRT_mSzVoPersist dns nameserver for ubuntu 14.04
If you are using ubuntu 14.04, you may find you can not setting dns on your /etc/resolv.confThis 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
put your nameserver list in
nameserver 8.8.8.8 nameserver 8.8.4.4
then run
resolvconf -u
this command tell resolvconf to regenerate the resolve file
enjoy it.
相关文章推荐
- ubuntu修改DNS重启网络服务
- ubuntu 14.04修改DNS
- [DNS] Ubuntu 14.04 部署本地 DNS 服务
- ubuntu修改IP地址dns
- Ubuntu Server修改IP/DNS
- ubuntu修改IP MAC DNS
- Ubuntu下修改IP地址 DNS
- ubuntu的终端下修改IP、MAC、DNS及GATE
- Ubuntu下修改DNS重启也能用的方法
- ubuntu中修改DNS
- ubuntu 12.04 修改DNS简介
- Ubuntu下修改DNS重启也能用的方法
- 原]sshd服务取消DNS反向解析及修改超时时间
- ubuntu下配置nfs服务<自己有一定的修改>
- Ubuntu系统(四)-修改主机名和配置DNS上网
- ubuntu 命令修改IP DNS DEF—GW
- 简述Ubuntu Server修改IP/DNS
- ubuntu的终端下修改IP、MAC、DNS及GATE
- ubuntu server修改IP和DNS