sudoapt-getinstalldnsmasq
修改/etc/dhcp3/dhclient.conf
#prependdomain-name-servers127.0.0.1;
去掉#变成
prependdomain-name-servers127.0.0.1;
修改/etc/resolv.conf
searchdomain
nameserver202.100.192.86
nameserver202.100.199.8
改成
searchdomain
nameserver127.0.0.1
nameserver202.100.192.86
nameserver202.100.199.8
最后重启
sudo/etc/init.d/dnsmasqrestart
ubuntu下给Firefox加速ubuntu下给Firefox加速ubuntu下给Firefox加速ubuntu下给Firefox加速ubuntu下给Firefox加速ubuntu下给Firefox加速ubuntu下给Firefox加速ubuntu下给Firefox加速ubuntu下给Firefox加速ubuntu下给Firefox加速
阅读(826) | 评论(0) | 转发(0) |