linux / 平时应用 / 未分类 · 2013年3月18日

Ubuntu 12.04,LD 中自定义DNS服务器设置

这阵子 不知为什么,内网的哥应该是对DNS作了手脚吧 open.qq.com 打开 时页面上的CSS全是乱的
于是手工改一下DNS 设置,以前是
/etc/resolv.conf
这个文件,但现在 竟然不是了呢
vi /etc/resolvconf/resolv.conf.d/tail
nameserver 8.8.4.4
重启下resolvconf程序,让配置生效
/etc/init.d/resolvconf restart
有人说
ubuntu 12.04 这个版本的DNS设置已经无需在 resolv.conf 设置了,直接编辑/etc/network/interfaces
后面追 …
这个我没试过 哈哈
http://blog.renhao.org/2012/05/ubuntu-12-04-add-dns-nameservers/
http://bbs.pcbeta.com/viewthread-1054491-1-1.html