找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 10403|回复: 40

【视频分享】openwrt使用dnscrypt-proxy去除dns污染

[复制链接]
本帖最后由 QQ66 于 2018-11-5 09:54 编辑

测试openwrt版本:18.06.1
  1. # 安装
  2. opkg update && opkg install luci-app-dnscrypt-proxy

  3. # 测试
  4. dig @127.0.0.1 -p 5353 medium.com

  5. ; <<>> DiG 9.11.2-P1 <<>> @127.0.0.1 -p 5353 medium.com
  6. ; (1 server found)
  7. ;; global options: +cmd
  8. ;; Got answer:
  9. ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26072
  10. ;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 1

  11. ;; OPT PSEUDOSECTION:
  12. ; EDNS: version: 0, flags:; udp: 4096
  13. ;; QUESTION SECTION:
  14. ;medium.com.                        IN        A

  15. ;; ANSWER SECTION:
  16. medium.com.                150        IN        A        104.16.124.127
  17. medium.com.                150        IN        A        104.16.122.127
  18. medium.com.                150        IN        A        104.16.120.127
  19. medium.com.                150        IN        A        104.16.123.127
  20. medium.com.                150        IN        A        104.16.121.127

  21. ;; Query time: 32 msec
  22. ;; SERVER: 127.0.0.1#5353(127.0.0.1)
  23. ;; WHEN: Wed Oct 10 22:20:49 CST 2018
  24. ;; MSG SIZE  rcvd: 119

  25. # 安装dnsmasq-full
  26. opkg update
  27. opkg remove dnsmasq
  28. opkg install dnsmasq-full

  29. # 安装curl
  30. opkg install ca-bundle curl
  31. curl https://cokebar.github.io/gfwlist2dnsmasq/dnsmasq_gfwlist.conf -o /tmp/dnsmasq.d/dnsmasq_gfwlist_ipset.conf

  32. # 重启dnsmasq即可
  33. /etc/init.d/dnsmasq restart
复制代码

详细操作请看视频:


You-Tube短链接

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
就看看呢
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

就看看看呢
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

看看什么情况
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

能不能去除啊?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

本帖最后由 nasbdh9 于 2018-10-21 19:41 编辑

openwrt仓库的还是1.x版本的,早就不维护了而且配置麻烦得一批

请使用2.0版本 https://github.com/jedisct1/dnsc ... allation-on-OpenWRT

可以配合china-dns
#而且不动们装个dnsmasq-full有个鸡毛用,makefile的依赖还写到满世界飞

点评

1.x不开发了而已,还是有人维护的;pdnsd已经broken那么久了还很多人用,因为可以满足需求就行了。2.0用golang对闪存小的路由器还是不友好的。  详情 回复 发表于 2018-10-21 21:24
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

see see ..............
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

这个不错,来看看
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

这个不错,来看看
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
nasbdh9 发表于 2018-10-21 19:39
openwrt仓库的还是1.x版本的,早就不维护了而且配置麻烦得一批

请使用2.0版本 https://github.com/jedis ...

1.x不开发了而已,还是有人维护的;pdnsd已经broken那么久了还很多人用,因为可以满足需求就行了。2.0用golang对闪存小的路由器还是不友好的。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

看看,谢谢发布分享!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

感谢分享,学习一下
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

不是早都有了吗

点评

是的,但是还是很好用  详情 回复 发表于 2018-10-26 21:53
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层

是的,但是还是很好用
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

哇,支持楼主啊
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-29 02:41

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表