A DNS forwarder using Shadowsocks as the server.
ShadowDNS creates a DNS server at localhost.
Experimental; use with caution.
brew install swig
pip install git+https://github.com/xuzhen/ShadowDNS.git
easy_install pip
pip install git+https://github.com/xuzhen/ShadowDNS.git
apt-get install python-pip
pip install git+https://github.com/xuzhen/ShadowDNS.git
yum install python-setuptools
easy_install pip
pip install git+https://github.com/xuzhen/ShadowDNS.git
Create a config file /etc/shadowdns.json
(or put it in other path).
Example:
{
"server":"my_server_ip",
"server_port":8388,
"local_address": "127.0.0.1",
"password":"mypassword",
"method":"aes-256-cfb",
"dns":"8.8.8.8"
}
Explanation of the fields:
Name | Explanation |
---|---|
server | the address your server listens |
server_port | server port |
local_address | the address your local listens |
password | password used for encryption |
method | encryption method, "aes-256-cfb" is recommended |
dns | DNS server to use |
Run sudo ssdns -c /etc/shadowdns.json
on your local machine.
Set your DNS to 127.0.0.1.
MIT
Please visit Issue Tracker
Mailing list: http://groups.google.com/group/shadowsocks