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:
accelerated-domains.china.conf, It is for domain name resolve
accelerated-domains-ipset.china.conf, it is for add ip to FREEWEB.
Current exist a bug:
We only add
ipset rule
to dnsmasq, but not adddomain 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: