Tcp-DNS-proxyTCP DNS 代理
Tcp-DNS-proxy 一个 TCP DNS 代理可以得到正确的 IP 地址。
命令行
usage: tcpdns.py [-h] -f CONFIG_JSON [-d] TCP DNS Proxy optional arguments: -h, --help show this help message and exit -f CONFIG_JSON Json config file -d Print debug message
配置文件
{ "socket_timeout": 20, "host": "0.0.0.0", "port": 53, "tcp_dns_server": ["8.8.8.8:53", "8.8.4.4:53", "156.154.70.1:53", "156.154.71.1:53", "208.67.222.222:53", "208.67.220.220:53", "209.244.0.3:53"], "udp_dns_server": ["208.67.222.222:5353"], "enable_server_switch": true, "speed_test": true, "enable_lru_cache": true, "lru_cache_size" : 100, "udp_mode" : false, "daemon_process" : false, "internal_dns_server": ["192.168.1.1:53"], "internal_domain": ["*intra*"], "private_host" : {"*google.com": "203.117.34.162"} }
评论