Giter Site home page Giter Site logo

Comments (8)

wongsyrone avatar wongsyrone commented on May 26, 2024

第一个需求用sed就能实现了,Win下也有类似的工具

from dnsmasq-china-list.

programmervy avatar programmervy commented on May 26, 2024

欢迎尝试我的零 list 解决方案哦 :-)

from dnsmasq-china-list.

felixonmars avatar felixonmars commented on May 26, 2024
  1. 运行 make raw 即可。想要更换服务器可以用这样的命令:make SERVER=1.2.4.8 dnsmasq
  2. 欢迎其他人做这件事,因为目前的列表我没有感觉到系统运行效率方面的问题。如果的确有运行效率的问题了,我会考虑优化 dnsmasq 或采用其他本地 relay 方案。

from dnsmasq-china-list.

angusding avatar angusding commented on May 26, 2024

1)我需要在OpenWrt路由器上引用这个列表中的域名,但不想用它的DNS服务器,用make有些问题,所以要经过sed处理掉而显得麻烦了,不如直接用列表的域名来生成配置。
2)今年早些时候用这个列表的时候还不到2000个地址,最近爆增到11000多,升级后造成生成配置文件的时间也爆长,同时启动dnsmasq后占用的内存也比较多,对于嵌入式的系统性能影响较大,尤其在启动时将dnsmasq的运行结果加到系统日志后。

from dnsmasq-china-list.

angusding avatar angusding commented on May 26, 2024

@programmervy 谢谢你,不过我需要使用dnsmasq,可能无法使用你的方案。

from dnsmasq-china-list.

felixonmars avatar felixonmars commented on May 26, 2024
  1. 用 make 有什么问题呢?这里的 Makefile 调用的依然是 sed 等基础命令而已……
  2. 我不太清楚“生成配置文件”是什么操作。另外,内存占用具体多了多少呢?日志的问题是另一个问题了,建议关掉 dnsmasq 的日志。

from dnsmasq-china-list.

angusding avatar angusding commented on May 26, 2024

OW本身没有make命令,生成其他格式的配置文件,比如:server=/0-6.com/x.y,因为114并不是对所有人都是最快的服务器,我自己做吧,替换下而已,只是感觉不如单纯的域名列表用起来干净。
日志是OW系统服务自动加载的,貌似太多会溢出自定义的日志缓存空间。
dnsmasq本身倒没开日志功能,但这个列表真心不错。加速效果明显。

from dnsmasq-china-list.

felixonmars avatar felixonmars commented on May 26, 2024

嗯,这个项目叫 dnsmasq-china-list,本意是一个开箱即用的 dnsmasq 配置文件。提供 Makefile 只是让转化成其他格式稍微容易一些。

以后如果有精力的话,我会重构这个项目,拆分为不同理由加入的域名列表以定期自动验证。

from dnsmasq-china-list.

Related Issues (20)

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.