zw963 / asuswrt-merlin-transparent-proxy

transparent proxy base on ss, v2ray, xray, ipset, iptables, chinadns on asuswrt merlin or side router.
MIT License
380 stars 80 forks source link

use ss+dnsmasq to deploy, caused access all domain failed if remote ss-server is closed. #28

Closed zw963 closed 7 years ago

zw963 commented 7 years ago

Current exist a bug:

We only add ipset rule to dnsmasq, but not add domain rule to dnsmasq. That means:

we use ss-tunnel to resolve all domain name, but, what we exepct is: use 114.114.114.114 to resolve china domain name and use 8.8.4.4 to resolve foreign domain.

Another bad effect is: if remote VPS is not accessible, ss-tunnel not work, we could not access any sites with domain name.

one solution is use ChinaDNS, but, i don't want use two database to do one things. so, the correct way is: we need add two config: