A smart DNS server for Chinese
anchorDNS IPDNS
CHNRoutes VPN IPVPNVPNDNSDNSVPNDNSCDN
anchorDNS DNSIPIPDNS DNS
www.baidu.com -> 114.114.114.114()/8.8.8.8(VPN) -> IP -> 114.114.114.114
twitter.com -> 114.114.114.114()/8.8.8.8(VPN) -> IP -> VPN8.8.8.8
Release bin anchorDNS
usage: anchorDNS
-a,--alternativeDNS <arg> Specify the alternative DNS server. Default:
8.8.8.8,8.8.4.4,208.67.222.222,208.67.220.220
-c,--cidr <arg> Specify the CIDR list. Default: Download from
IPdeny
-d,--defaultDNS <arg> Specify the default DNS server. Default:
119.29.29.29,182.254.116.116,223.5.5.5,223.6.
6.6
-f,--fallback Use alternative DNS when default DNS failed.
-h,--help Show this help message.
-i,--ip <arg> Specify the listening IP. Default: 127.0.0.1
-n,--nocache Disable results cache.
-p,--port <arg> Specify the listening port. Default: 53
-t,--timeout <arg> Specify the DNS time out (sec). Default: 2
-v,--verbose Verbose mode.
-a DNS
-c IP CIDRIPdeny ChinaCIDR.txt
-d DNS
-f DNSDNS
-h
-i IP127.0.0.1
-n
-p
-t DNS 2
-v DNS
anchorDNS -d 1.2.4.8 -a 8.8.4.4 -f -c ChinaCIDR_NEW.txt
DNS 127.0.0.1
dnsjava DNSGradleJDK1.8+