Skip to main content

A DNS forwarder that ignore incorrect responses

Project description

PyPI version Build Status

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for chinadns, version 0.2.3
Filename, size File type Python version Upload date Hashes
Filename, size chinadns-0.2.3.tar.gz (6.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page