翻墙以后,免不了被DNS污染。
而且用谷歌的DNS有时候访问国内网站会解析到国外的加速服务器,反而降低了访问速度。
最明显的就是访问baidu.com,sina.com.cn会很慢。

这里给出解决方法,使用Padvan自带的dnsmasq功能。
在/etc/storage/dnsmasq/dnsmasq.servers文件中填入常用的网站及其DNS服务器。

以下是我的配置文件,指定了一些常访问的网站,比如访问google用DNS服务器8.8.8.8,访问baidu用DNS服务器114.114.114.114,以此类推,只填常用的即可。

# Custom user servers file for dnsmasq
# Example:
#server=/mit.ru/izmuroma.ru/10.25.11.30

# For the Wall
server=/mobile01.com/*.mobile01.com/8.8.8.8
server=/google.com/*.google.com/ggpht.com/8.8.8.8
server=/google.com.hk/*.google.com.hk/8.8.8.8
server=/google.co.jp/*.google.co.jp/8.8.8.8
server=/google.co.uk/*.google.co.uk/8.8.8.8
server=/facebook.com/*.facebook.com/*.fbcdn.net/*.facebook.net/8.8.8.8
server=/twitter.com/*.twitter.com/*.img.ly/8.8.8.8
server=/*.googleusercontent.com/youtube-nocookie.com/8.8.8.8
server=/webcache.googleusercontent.com/8.8.8.8
server=/WordPress.com/*.WordPress.com/8.8.8.8
server=/*.twitpic.com/8.8.8.8
server=/*.instagram.com/boysfood.com/8.8.8.8
server=/*.vimeo.com/*.flickr.com/8.8.8.8
server=/*.dropbox.com/*.live.com/pornhublive.com/8.8.8.8
server=/*.hidemyass.com/porntube.com/8.8.8.8
server=/yobt.tv/*.yobt.tv/*.twittercounter.com/8.8.8.8
server=/youtube.com/*.youtube.com/*.cna.com.tw/8.8.8.8
server=/*.wikimedia.org/8.8.8.8
server=/*.wikisource.org/8.8.8.8
server=/cnn.com/8.8.8.8
server=/tumblr.com/*.tumblr.com/8.8.8.8
server=/*.txmblr.com/8.8.8.8
server=/*.cedexis.com/8.8.8.8
server=/*.scorecardresearch.com/8.8.8.8
server=/*.umblr.com/8.8.8.8
server=/*.cloudfront.net/8.8.8.8
server=/*.whatismyip.com/8.8.8.8
server=/googlevideo.com/*.googlevideo.com/8.8.8.8
server=/*.ytimg.com/8.8.8.8
server=/*.googleapis.com/8.8.8.8
server=/*.gstatic.com/8.8.8.8
server=/*.wp.com/8.8.8.8
server=/*.google-analytics.com/8.8.8.8
server=/*.quantserve.com/8.8.8.8
server=/*.googleadservices.com/8.8.8.8
server=/*.googletagservices.com/8.8.8.8
server=/*.googletagmanager.com/8.8.8.8
server=/*.twimg.com/8.8.8.8
server=/*.fortinet.com/8.8.8.8
server=/*.pornhub.com/8.8.8.8
server=/*.pornhubselect.com/8.8.8.8
server=/*.phncdn.com/8.8.8.8
server=/*.adstatic.com/8.8.8.8
server=/*.contentabc.com/8.8.8.8
server=/*.trafficjunky.net/8.8.8.8

# For baidu
server=/*.baidu.com/114.114.114.114
server=/*.baidustatic.com/114.114.114.114
server=/*.bdstatic.com/114.114.114.114
server=/*.bdimg.com/114.114.114.114
server=/*.baidupcs.com/114.114.114.114
server=/*.buimg.com/114.114.114.114
server=/*.teibaimg.com/114.114.114.114

# For sina
server=/*.sina.com.cn/*.sina.cn/*.weibo.cn/114.114.114.114
server=/*.sinaimg.cn/114.114.114.114
server=/*.sinajs.cn/114.114.114.114

# For 163
server=/*.163.com/114.114.114.114
server=/*.126.net/114.114.114.114
server=/*.127.net/114.114.114.114
server=/*.netease.com/114.114.114.114

# For bing China
server=/cn.bing.com/114.114.114.114

# For ali
server=/*.taobao.com/114.114.114.114
server=/*.alicdn.com/114.114.114.114
server=/*.greencompute.org/114.114.114.114
server=/*.tanx.com/114.114.114.114
server=/*.mmstat.com/114.114.114.114
server=/*.tmall.com/114.114.114.114
server=/*.alipayobjects.com/114.114.114.114
server=/*.alipay.com/114.114.114.114

# For jd
server=/*.jd.com/114.114.114.114
server=/*.360buy.com/114.114.114.114
server=/*.360buyimg.com/114.114.114.114

# For common
server=/*.douyu.com/114.114.114.114
server=/*.panda.tv/114.114.114.114
server=/*.gtimg.cn/114.114.114.114
server=/*.qq.com/114.114.114.114