Comments (3)
@zwwooooo Windows 下应该是无法编译 dnsmasq 的,不过我不知道 cygwin 之类的环境是否能够编译。
如果在 Windows 下需要这个功能,可以考虑:
- 如果你的路由器是由一台 linux 机器充当的话,可以把 dnsmasq 部署在 linux 机器上作为 DNS 代理
- 如果你的路由器是可以改用 openwrt 的固件的话,可以参考原帖子里 aa65536 的配置,因为我对 openwrt 不是很熟
- 如果你有树莓派的话,可以考虑把 dnsmasq 单独装在树莓派上,只是把树莓派作为 DNS 服务器。当然你也可以将 shaddowsocks 或者 cow 运行在树莓派上作为 Windows 的代理。
- 也可以用 clowwindy 大大的 https://github.com/clowwindy/ChinaDNS ,这个是 python 的,你可以开一个命令行在本地,让网络连接使用这个本地的 DNS
from dnsmasq-chinadns.
目前 Windows 是无法运行 dnsmasq 的。
Win的话可以使用 clowwindy 的 ChinaDNS,下面是我打包的单文件版本
https://drive.google.com/folderview?id=0B2_XcmDgxYqrejVSOXdGelYwaGM&usp=sharing#list
运行后设置你的DNS服务器为 127.0.0.1
就行了。
如果需要在 OpenWrt 编译的话可以参考这里:
https://github.com/aa65535/openwrt-dnsmasq
from dnsmasq-chinadns.
感谢2位。
@styx-hy 我的路由器是 ROS 系统,应该是可以折腾的,不过最近太忙还是等有时间再试试
@aa65535 试用了 ChinaDNS,在 win 下很好,Thx
from dnsmasq-chinadns.
Related Issues (9)
- 不能检测DNS劫持中的空包污染问题 HOT 7
- --help 参数 HOT 3
- 貌似最近投毒的ip有更新? HOT 5
- please update root-zone trust-anchors in trust-anchors.conf file
- 当前版本的 spurious-ip 设置无效 HOT 25
- 关于配置文件 HOT 2
- 使用了2天,经常会出现这个问题。 HOT 4
- 使用一段时间会占用过多cup HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dnsmasq-chinadns.