Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A DNS forwarder that ignore incorrect responses

Project Description

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

Release History

Release History

This version
History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2.0

History Node

0.1.11

History Node

0.1.10

History Node

0.1.9

History Node

0.1.8

History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
chinadns-0.2.3.tar.gz (6.2 kB) Copy SHA256 Checksum SHA256 Source Dec 26, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting