你们怎么解决梅林固件(Merlin)的 DNS 污染问题的?

2016-12-08 20:29:39 +08:00
 Tink
好像也没有chinadns for merlin, 也不知道dnsmasq或者unbound或者dnscrypt这些能在梅林固件上装吗?
20706 次点击
所在节点    问与答
32 条回复
jasontse
2016-12-08 20:41:28 +08:00
把 toolchains 拿来 cross compile 一下很容易
Tink
2016-12-08 20:44:50 +08:00
@jasontse 没交叉编译过啊, 不懂啊.......
xjbeta
2016-12-08 21:52:09 +08:00
出门右转 koolshare
wwqgtxx
2016-12-09 01:25:13 +08:00
koolshare 有梅林的 chinadns 呀
Tink
2016-12-09 01:28:12 +08:00
@wwqgtxx 额?我没找着啊?求个地址!
wwqgtxx
2016-12-09 01:31:10 +08:00
http://koolshare.cn/forum-72-1.html
直接刷他们的改版固件算了
要想找他们编译过的 chinadns 去 github 搜索一下就有了
jianqun
2016-12-09 01:31:41 +08:00
Tink
2016-12-09 01:33:03 +08:00
@jianqun 正在研究这个帖子,谢谢!
@wwqgtxx 我现在就刷的是 koolshare 的改版固件, 这个固件里面只有 dnsmasq, 没有 chinadns 啊
Tink
2016-12-09 01:33:43 +08:00
@wwqgtxx 另外我发现不管我怎么改 /etc/dnsmasq.conf ,重启路由器之后都不会保存, 又变回原来默认的内容了
wwqgtxx
2016-12-09 01:34:19 +08:00
@Tink 去软件中心下载 ss 插件,里面有
Tink
2016-12-09 01:36:52 +08:00
dnsmasq.conf 的问题解决了, merlin 的官方 wiki 里有解释...

Replacing or appending content to config files

You can append content to various configuration files that are created by the firmware, or even completely replace them with custom config files you have created. Those config override files must be stored in /jffs/configs/. To have a config file appended to the one created by the firmware, simply add ".add" at the end of the filename taken from the list below. For example:

/jffs/configs/dnsmasq.conf.add

will be added at the end of the dnsmasq configuration file that is created by the firmware, while:

/jffs/configs/dnsmasq.conf

would completely replace it.
Tink
2016-12-09 01:37:04 +08:00
@wwqgtxx 谢谢!
Tink
2016-12-09 05:55:11 +08:00
@wwqgtxx
@jasontse
@xjbeta
@jianqun 编译了一个 arm 版的, 有需要的可以用, 在我的 ac66u b1 上测试没问题
skylancer
2016-12-09 08:12:52 +08:00
如果你有看过 changelog , ps 甚至看一下设置页面,就能知道 merlin 用的就是 dnsmasq
Tink
2016-12-09 08:20:21 +08:00
@skylancer 这个我知道,只是我需要一个上游 dns 服务器来避免污染
loudis
2016-12-09 08:59:57 +08:00
缺省 merlin 就带 dnsmasq ,但我也是找不到好的上游 dns ,那些带端口的,带加密的 dns 解析的时候都是无响应。。。
Tink
2016-12-09 09:15:52 +08:00
@loudis ChinaDNS 就不错,或者 Dnscrypt 也可以
lee015
2016-12-09 09:17:36 +08:00
加个 pdnsd 作为 dnsmasq 上游, pdnsd 用 tcp 连 opendns 的 5353 。我这用着很好用。
goodbest
2016-12-09 09:27:41 +08:00
装 entware-ng ,然后 repo 里就有 chinadns

我是用的这个方案:
最外层是 dnsmasq ,其中黑名单的网站走 ss-tunnel 查询 dns ,白名单直接走运营商或国内 dns ,剩下的交给 chinadns 去判断。
Tink
2016-12-09 09:29:39 +08:00
@goodbest 嗯 entware 可以的,只不过要加一个 u 盘嫌麻烦就没这么搞

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/326270

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX