Comments (8)
第一个需求用sed就能实现了,Win下也有类似的工具
from dnsmasq-china-list.
欢迎尝试我的零 list 解决方案哦 :-)
from dnsmasq-china-list.
- 运行
make raw
即可。想要更换服务器可以用这样的命令:make SERVER=1.2.4.8 dnsmasq
- 欢迎其他人做这件事,因为目前的列表我没有感觉到系统运行效率方面的问题。如果的确有运行效率的问题了,我会考虑优化 dnsmasq 或采用其他本地 relay 方案。
from dnsmasq-china-list.
1)我需要在OpenWrt路由器上引用这个列表中的域名,但不想用它的DNS服务器,用make有些问题,所以要经过sed处理掉而显得麻烦了,不如直接用列表的域名来生成配置。
2)今年早些时候用这个列表的时候还不到2000个地址,最近爆增到11000多,升级后造成生成配置文件的时间也爆长,同时启动dnsmasq后占用的内存也比较多,对于嵌入式的系统性能影响较大,尤其在启动时将dnsmasq的运行结果加到系统日志后。
from dnsmasq-china-list.
@programmervy 谢谢你,不过我需要使用dnsmasq,可能无法使用你的方案。
from dnsmasq-china-list.
- 用 make 有什么问题呢?这里的 Makefile 调用的依然是 sed 等基础命令而已……
- 我不太清楚“生成配置文件”是什么操作。另外,内存占用具体多了多少呢?日志的问题是另一个问题了,建议关掉 dnsmasq 的日志。
from dnsmasq-china-list.
OW本身没有make命令,生成其他格式的配置文件,比如:server=/0-6.com/x.y,因为114并不是对所有人都是最快的服务器,我自己做吧,替换下而已,只是感觉不如单纯的域名列表用起来干净。
日志是OW系统服务自动加载的,貌似太多会溢出自定义的日志缓存空间。
dnsmasq本身倒没开日志功能,但这个列表真心不错。加速效果明显。
from dnsmasq-china-list.
嗯,这个项目叫 dnsmasq-china-list,本意是一个开箱即用的 dnsmasq 配置文件。提供 Makefile 只是让转化成其他格式稍微容易一些。
以后如果有精力的话,我会重构这个项目,拆分为不同理由加入的域名列表以定期自动验证。
from dnsmasq-china-list.
Related Issues (20)
- ocsp.pki.goog有国内节点 请加入list HOT 4
- sus domains inside breaks github.io HOT 4
- add ocsjs.com HOT 1
- add www.bing.com HOT 1
- 一个国内的主页导航站 HOT 2
- Add damai.cn HOT 1
- Add ByteDance Domain HOT 2
- 添加 4ksj.com HOT 2
- Add kabapay.com HOT 1
- 希望能移除无效的域名 HOT 1
- 谷歌全文翻译被墙 HOT 1
- redirector.c.docs.google.com and redirector.c.drive.google.com DNS polluted HOT 1
- apple domain
- apple domain
- 西培学堂的域名暂未包含进去 HOT 1
- 移除freemdict HOT 1
- accelerated-domains.china.conf修改 HOT 2
- 编辑dnsmasq.conf后dns无法解析 HOT 4
- OneDrive不能登录跟同步,请大佬看看
- 存在多条冗余域名,筛除脚本可能有 bug HOT 6
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-china-list.