Maybe you need: bjdns2
一个简单的带缓存的 DNS 服务器,用于防止 DNS 污染。
已在阿里云架设了此项目(121.42.185.92)
-
**科技大学
- 202.141.176.93
- 202.141.162.123
- 202.38.93.153
-
- 123.207.137.88 (可上 Google / wiki / Twitter )
-
2017-08-08
可以通过HTTPDNS来获得更精确的IP. -
2016-10-19
从本次更新开始 bjdns 需要配合 shadowsocks 或其他 socks5 代理使用。
在 shadowsocks 客户端的 server 设置中应填写 IP,不能为域名。
在 bjdns.json 中填写 shadowsocks 客户端监听的 ip 地址(也不要填域名)与端口,默认为 127.0.0.1:1080 。 -
2016-04-29
加入过滤广告功能,如果不需要这个功能可自行删除 ad.txt .
Windows/Linux/OS X
Python(>=3)
gevent
python-tkinter
Winico(仅 Windows 依赖)
p.s. 打包版已内置以上依赖。
1 Install Python3 and pip;
2 Install gevent and requests:
sudo pip3 install -U gevent requests
2 clone bjdns:
git clone https://github.com/bieberg0n/bjdns.git
cd bjdns
3 确保本地(或别的地方)的 shadowsocks 客户端已开启,确认 bjdns/bjdns.json 中填写正确; 如果 Shadowsocks 的远程服务器是域名, 请将该域名填进 whitelist.txt 里;
4 修改本机 DNS 为 127.0.0.1 ,然后在终端输入
sudo python3 bjdns.py bjdns.json
1 下载打包版点我
2 确保本地(或别的地方)的 shadowsocks 客户端已开启,确认 bjdns.json 中填写正确
3 在网络连接的本地连接(或者无线网络)-属性-IPv4里,将首选 DNS 服务器改为 127.0.0.1
4 启动目录中的 bjdns.exe。
5 任务栏图标右键弹出菜单可退出。
Python 实现DNS服务器(Pyhon域名解析服务器)
Python使用winIco编写一个托盘图标不停闪烁的小程序
bjong
Copyright (c) 2015-2017 bjong