Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
clowwindy committed Jun 22, 2014
0 parents commit b604dd8
Show file tree
Hide file tree
Showing 15 changed files with 568 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
*.py[co]

# Packages
*.egg
*.egg-info
dist
build
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.tox

#Translations
*.mo

#Mr Developer
.mr.developer.cfg

.DS_Store
.idea
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
language: python
python:
- 2.6
- 2.7
- pypy
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq dnsutils build-essential
- pip install shadowsocks
script:
- python test.py -c tests/facebook.com
- python test.py -c tests/google.com
- python test.py -c tests/twitter.com
- python test.py -c tests/www.facebook.com
3 changes: 3 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
0.1 2014-06-22
- Initial version

21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Shadowsocks

Copyright (c) 2014 clowwindy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
57 changes: 57 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
ChinaDNS
=========

[![PyPI version]][PyPI] [![Build Status]][Travis CI]

A DNS forwarder that ignores incorrect(you know it) responses.

ChinaDNS creates a DNS server at localhost.

Install
-------

#### OS X:

pip install .
pip install chinadns

#### Windows:

easy_install pip
pip install chinadns

#### Debian / Ubuntu:

apt-get install python-pip
pip install chinadns

#### CentOS:

yum install python-setuptools
easy_install pip
pip install shadowdns

Usage
-----

Run `sudo chinadns` on your local machine.

Set your DNS to 127.0.0.1.

License
-------
MIT

Bugs and Issues
----------------
Please visit [Issue Tracker]

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


[Build Status]: https://img.shields.io/travis/clowwindy/ChinaDNS/master.svg?style=flat
[Issue Tracker]: https://github.com/clowwindy/ChinaDNS/issues?state=open
[PyPI]: https://pypi.python.org/pypi/chinadns
[PyPI version]: https://img.shields.io/pypi/v/chinadns.svg?style=flat
[Shadowsocks]: https://github.com/clowwindy/shadowsocks
[Travis CI]: https://travis-ci.org/clowwindy/ChinaDNS
62 changes: 62 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
ChinaDNS
========

A DNS forwarder that ignores incorrect(you know it) responses.

ChinaDNS creates a DNS server at localhost.

Install
-------

OS X:
^^^^^

::

pip install .
pip install chinadns

Windows:
^^^^^^^^

::

easy_install pip
pip install chinadns

Debian / Ubuntu:
^^^^^^^^^^^^^^^^

::

apt-get install python-pip
pip install chinadns

CentOS:
^^^^^^^

::

yum install python-setuptools
easy_install pip
pip install shadowdns

Usage
-----

Run ``sudo chinadns`` on your local machine.

Set your DNS to 127.0.0.1.

License
-------

MIT

Bugs and Issues
---------------

Please visit `Issue
Tracker <https://github.com/clowwindy/ChinaDNS/issues?state=open>`__

Mailing list: http://groups.google.com/group/shadowsocks
1 change: 1 addition & 0 deletions chinadns/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#!/usr/bin/python
Loading

0 comments on commit b604dd8

Please sign in to comment.