Giter VIP home page Giter VIP logo

Comments (3)

styxyang avatar styxyang commented on June 18, 2024

@zwwooooo Windows 下应该是无法编译 dnsmasq 的,不过我不知道 cygwin 之类的环境是否能够编译。

如果在 Windows 下需要这个功能,可以考虑:

  1. 如果你的路由器是由一台 linux 机器充当的话,可以把 dnsmasq 部署在 linux 机器上作为 DNS 代理
  2. 如果你的路由器是可以改用 openwrt 的固件的话,可以参考原帖子里 aa65536 的配置,因为我对 openwrt 不是很熟
  3. 如果你有树莓派的话,可以考虑把 dnsmasq 单独装在树莓派上,只是把树莓派作为 DNS 服务器。当然你也可以将 shaddowsocks 或者 cow 运行在树莓派上作为 Windows 的代理。
  4. 也可以用 clowwindy 大大的 https://github.com/clowwindy/ChinaDNS ,这个是 python 的,你可以开一个命令行在本地,让网络连接使用这个本地的 DNS

from dnsmasq-chinadns.

aa65535 avatar aa65535 commented on June 18, 2024

目前 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.

zwwooooo avatar zwwooooo commented on June 18, 2024

感谢2位。

@styx-hy 我的路由器是 ROS 系统,应该是可以折腾的,不过最近太忙还是等有时间再试试

@aa65535 试用了 ChinaDNS,在 win 下很好,Thx

from dnsmasq-chinadns.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.