Skip to content

Instantly share code, notes, and snippets.

@wen-long
Last active August 29, 2015 14:14
Show Gist options
  • Save wen-long/2eabdca1fa997f20b80b to your computer and use it in GitHub Desktop.
Save wen-long/2eabdca1fa997f20b80b to your computer and use it in GitHub Desktop.

openwrt 上使用 chinadns-c 与 dnsmasq 时,要注意的地方

  1. 网络 -> 接口 -> WAN -> 高级设置 中选择使用端局通告的DNS服务器
  2. 网络 -> DHCP/DNS -> 一般设置 中填写 DNS转发127.0.0.1#5353
  3. 修改 /etc/init.d/chinadns 取消 iptables 重定向的两条语句
  4. 修改 /etc/init.d/chinadns 中的 DNS 为切实可行的 DNS,如 175.190.255.100,175.190.255.100,114.114.114.114,128.199.248.105:54,208.67.220.220:443
  5. 多看系统日志和 /tmp/log/chinadns.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment