本篇是openwrt安装SmartDNS应对DNS污染的续篇,本篇被openwrt22.03上部署smartdns代替。
- 前置设置
关闭openwrt DNS加速
- 设置smartdns
设置上游dns
开启smartdns基本dns1,端口6053
配置成上游dns
开启第二个dns2端口7053
配置passwall
ipleak.net检查
- 最快dns检查
补充说明:
smartdns在设置不好的情况下,会导致dns泄露ip,因此,还不如直接用passwall插件下的chinadns-NG设置稳妥。
- 效果如下:
参考资料:
- http://www.ip.cn/dns.html
- https://github.com/zfl9/chinadns-ng
- https://github.com/pexcn/openwrt-chinadns-ng
- https://github.com/yiguihai/luci-app-passwall-plus
- https://github.com/fyglinfo/actions-openwrt-passwall