a very simple and stupid DNS server to bypass the DNS pollution 破DNS污染.
on your remote server run, 远程机器:
introduction
a very simple and stupid DNS server to bypass the DNS pollution. 很傻的DNS server,破DNS污染。how it works:
your remote server listen on a port other than 53, (as you can see in config.json.remote, it's 60053). 你远程DNS服务器监听的端口不是53。configuration
change remote_ip in config.json.local to your remote server ip 改一下这个字段on your remote server run, 远程机器:
python dns-client.py config.json.remoteon your local machine run, 本机:
python dns-client.py config.json.local
test
nslookup google.com 127.0.0.1
win7 set localhost dns
netsh interface ipv4 set dnsservers "Wireless Network Connection" static 127.0.0.1
from https://github.com/wynemo/simple-dns