This project has been archived by its maintainers, and is no longer receiving any updates.
ChinaDNS
A DNS forwarder that ignores incorrect(you know it) responses.
Install
pip install chinadns
or
easy_intall chinadns
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
$ chinadns -h
usage: chinadns [-h] [-b BIND_ADDR] [-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
-s DNS, --dns DNS DNS server to use, default: 8.8.8.8
License
MIT
Bugs and Issues
Please visit Issue Tracker
Mailing list: http://groups.google.com/group/shadowsocks
Metadata
Release files for chinadns 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| chinadns-0.2.3.tar.gz | 6.2 kB | Without provenance | Details |
Release files / chinadns-0.2.3.tar.gz
| Download URL | chinadns-0.2.3.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e535a5ac6b125553edd7459951bb56f5ab68ebd2ef7ba6e0083bbe7b2a035824
|
|
BLAKE2b-256 checksum How to use checksums |
2d4fa7f80c0516b91c59988549b8243281bf4848612488656183c83118f33436
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for chinadns 0.2.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.