Technology moves fast! ⚡ Don't get left behind.🚶 Subscribe to our mailing list to keep up with latest and greatest in open source projects! 🏆


Subscribe to our mailing list

ChinaDNS-Python

Protect yourself against DNS poisoning in China.

Subscribe to updates I use ChinaDNS-Python


Statistics on ChinaDNS-Python

Number of watchers on Github 731
Number of open issues 3
Average time to close an issue 14 days
Main language Python
Average time to merge a PR 4 days
Open pull requests 2+
Closed pull requests 0+
Last commit over 4 years ago
Repo Created about 5 years ago
Repo Last Updated over 1 year ago
Size 436 KB
Organization / Authorshadowsocks
Contributors4
Page Updated
Do you use ChinaDNS-Python? Leave a review!
View open issues (3)
View ChinaDNS-Python activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating ChinaDNS-Python for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

ChinaDNS-Python

PyPI version Build Status

Fix weird things with DNS in China.

ChinaDNS-C is more advanced and well maintained. Please use it instead.

Actually, I'm not working on the Python version anymore. New maintainers are welcome. Just send several pull requests and let me know. You can begin with some features that have already been implemented in ChinaDNS-C.

Install

Usage

Run sudo chinadns on your local machine. ChinaDNS creates a DNS server at 127.0.0.1:53.

Set your DNS to 127.0.0.1 and you're done.

$ nslookup www.youtube.com
Server:     127.0.0.1
Address:    127.0.0.1#53

Non-authoritative answer:
www.youtube.com canonical name = youtube-ui.l.google.com.
youtube-ui.l.google.com canonical name = youtube-ui-china.l.google.com.
Name:   youtube-ui-china.l.google.com
Address: 173.194.72.102
Name:   youtube-ui-china.l.google.com
Address: 173.194.72.101
Name:   youtube-ui-china.l.google.com
Address: 173.194.72.113
Name:   youtube-ui-china.l.google.com
Address: 173.194.72.100
Name:   youtube-ui-china.l.google.com
Address: 173.194.72.139
Name:   youtube-ui-china.l.google.com
Address: 173.194.72.138

Advanced

usage: chinadns [-h] [-b BIND_ADDR] [-p BIND_PORT] [-s DNS]

Forward DNS requests.

optional arguments:
  -h, --help            show this help message and exit
  -b BIND_ADDR, --local_address BIND_ADDR
                        address that listens, default: 127.0.0.1
  -p BIND_PORT, --local_port BIND_PORT
                        port that listens, default: 53
  -s DNS, --dns DNS     DNS server to use, default:
                        114.114.114.114,208.67.222.222,8.8.8.8

License

MIT

Bugs and Issues

Please visit Issue Tracker

Mailing list: http://groups.google.com/group/shadowsocks

ChinaDNS-Python open issues Ask a question     (View All Issues)
  • almost 5 years Any plan to make it support IPv6 DNS servers?
ChinaDNS-Python open pull requests (View All Pulls)
  • 支持shadowsocks2.8.2
  • compatible to newer shadowsocks version
ChinaDNS-Python list of languages used
Other projects in Python