May 18th, 2007
在 Ubuntu 中锁定 OpenDNS
Category: Ubuntu, Author: Nicky, Popularity: 9%
OpenDNS,让你上网冲浪 Safer、Faster、Smarter,还能摆脱电信的 DNS 劫持。在 Ubuntu 上本以为简单的把 DNS 改为 208.67.222.222 和 208.67.220.220 就行了,哪知重启后发现 DNS 又还原成电信的,于是在这篇文章中找到固定的方法。
sudo cp /etc/resolv.conf /etc/resolv.conf.auto
sudo gedit /etc/dhcp3/dhclient.conf
# 将以下行添加到末尾
prepend domain-name-servers 208.67.222.222,208.67.220.220;
接着
sudo gedit /etc/ppp/peers/dsl-provider
注释掉 usepeerdns
Tags:OpenDNS, Ubuntu.
评论数量(4) | Add Comments
本文网址:http://www.osxcn.com/ubuntu/use-opendns.html


tks nicky,
is there any way to wander the wiki ?
还是有路由器更方便点…
可能直接修改 /etc/network/interfaces 文件会更方便一些,只需要在类似 iface ath0 inet dhcp 这行后面增加一行:
dns-nameservers 208.67.222.222 208.67.220.220
就可以了。
justin Says: 2007-05-18 6:54 pm tks nicky,
is there any way to wander the wiki ?
—————–
i was introduced a software called “tor”,or “vidalia”.
wish to be an alternative option.