1 | Github: https://github.com/shadowsocks/ShadowDNS |
服务器端部署
建议CentOS7
1 | yum install m2crypto python-setuptools |
CentOS6安装
1 | #安装python-setuptools和shadowdns |
配置文件
1 | vim /etc/shadowdns.json |
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 |
运行服务
1 | ssdns -c /etc/shadowdns.json |
客户端使用
1 | dig google.com @my_server_ip |
- 本文作者: GaryWu
- 本文链接: https://garywu520.github.io/2017/11/04/DNS加密代理之shadowDNS/
- 版权声明: 本博客所有文章除特别声明外,均采用 MIT 许可协议。转载请注明出处!