Comments (21)
做了一个简陋的分流管理 luci
上传格式限制,请解压
luci-app-adguardhome_1.91-11_all.zip
from gfwlist2agh.
可以尝试使用 WinSCP 将 gfwlist2agh_combine.txt 文件存放入相应文件夹,再编辑 adguardhome 根目录下的 AdGuardHome.yaml,将其中的 “upstream_dns_file” 键值更改为存放 gfwlist2agh_combine.txt 文件的路径,如“upstream_dns_file: /opt/adguardhome/conf/gfwlist2agh_combine.txt”。保存后重启 adguardhome 进程。
from gfwlist2agh.
如果此操作过于繁杂,我稍后可以将针对于 UI 界面版的规则输出到相应文件 (暂定 gfwlist2agh_cnacc_ui.txt / gfwlist2agh_combine_ui.txt / gfwlist2agh_gfwlist_ui.txt)
from gfwlist2agh.
如果此操作过于繁杂,我稍后可以将针对于 UI 界面版的规则输出到相应文件 (暂定 gfwlist2agh_cnacc_ui.txt / gfwlist2agh_combine_ui.txt / gfwlist2agh_gfwlist_ui.txt)
我忘了,当前版本的规则能直接适用于 UI 界面,您可以直接将其复制并粘贴进 “上游 DNS 服务器” 中
from gfwlist2agh.
感谢,刚接触这个不太懂。
现在的问题是,我上游的dns是Google的,导致国内的域名很多都解析成了香港的IP,网页打开很慢,使用 gfwlist2agh_combine.txt
这个文件可以解决嘛?
from gfwlist2agh.
如果此操作过于繁杂,我稍后可以将针对于 UI 界面版的规则输出到相应文件 (暂定 gfwlist2agh_cnacc_ui.txt / gfwlist2agh_combine_ui.txt / gfwlist2agh_gfwlist_ui.txt)
嗯嗯,刚刚看了您这个文章了 https://www.zhijie.online/resources/personal_projects/GFWList2AGH/page.html
from gfwlist2agh.
目前我用下来的体验来讲,能解决大部分问题,如果在体验中出现有什么网站误被判定使用 gfwlist_dns(Google / OpenDNS) 的话可以提出 issues,我可以将其添加进白名单。
from gfwlist2agh.
from gfwlist2agh.
可以理解为 白名单模式 / 黑名单模式 / 混合模式(修正黑名单中可能存在的白名单规则,如:||googleapis.com 和 ||fonts.googleapis.com,fonts.googleapis.com 在国内有 CDN,则应走国内 DNS 而不是使用 国外 DNS 进行解析)
from gfwlist2agh.
combine 更适合日常使用,规则比较全面
from gfwlist2agh.
可以理解为 白名单模式 / 黑名单模式 / 混合模式(修正黑名单中可能存在的白名单规则,如:||googleapis.com 和 ||fonts.googleapis.com,fonts.googleapis.com 在国内有 CDN,则应走国内 DNS 而不是使用 国外 DNS 进行解析)
那这个分流是怎么走的呢?
from gfwlist2agh.
a. 开启 “并行查询” 并以 gfwlist2agh_combine.txt 为例:
- 当域名规则在 gfwlist 但不在 cnacc 中时,则走 https://doh.opendns.com:443/dns-query 和 tls://dns.google:853 进行查询(如:googleapis.com)
- 当域名规则在 gfwlist 但其子域名在 cnacc 中时,则走 tls://dns.alidns.com:853 和 tls://dns.pub:853 进行查询(如:fonts.googleapis.com)
- 当域名规则不在 gfwlist 但在 cnacc 中时,则走 tls://dns.alidns.com:853 和 tls://dns.pub:853 进行查询(如:www.baidu.com)
- 当域名规则不在 gfwlist 也不在 cnacc 中时,则走 https://dns.alidns.com:443/dns-query 和 https://dns.pub:443/dns-query 进行查询(如:www.zhijie.online)
b. 开启 “并行查询” 并以 gfwlist2agh_cnacc.txt 为例:
- 当域名规则在 cnacc 中时,则走 tls://dns.alidns.com:853 和 tls://dns.pub:853 进行查询
- 当域名规则不在 cnacc 中时,则走 https://doh.opendns.com:443/dns-query 和 tls://dns.google:853 进行查询
c. 开启 “并行查询” 并以 gfwlist2agh_gfwlist.txt 为例:
- 当域名规则在 gfwlist 中时,则走 https://doh.opendns.com:443/dns-query 和 tls://dns.google:853 进行查询
- 当域名规则不在 gfwlist 中时,则走 tls://dns.alidns.com:853 和 tls://dns.pub:853 进行查询
from gfwlist2agh.
@hezhijie0327
zhe那这两个是干啥的
from gfwlist2agh.
- 当域名规则不在 gfwlist 也不在 cnacc 中时,则走 https://dns.alidns.com:443/dns-query 和 https://dns.pub:443/dns-query 进行查询(如:www.zhijie.online)
from gfwlist2agh.
腾讯的 dot
官网 改了
from gfwlist2agh.
虽然目前看来 dns.pub 和 doh.pub 指向的服务器地址为同一个,但现本项目中 DoH 及 DoT 地址均已更改为 doh.pub
from gfwlist2agh.
issue 其实可以不用关,也许有人跟我一样呢,不懂用。这个还是挺好的,用了这几天下来,体验挺好👍
from gfwlist2agh.
好,我将此 issue 置顶😊
from gfwlist2agh.
@hezhijie0327 感谢作者的贡献!使用体验非常nice👍。不过现在的目录和文件命名好像变了,
这些都是什么意思,我应该使用哪个呢🤣
from gfwlist2agh.
- 通常来讲非特殊需求,使用
blacklist_full.txt
即可 *_lite.txt
仅精确到二级域名(example.org
)
from gfwlist2agh.
做了一个简陋的分流管理 luci 上传格式限制,请解压 luci-app-adguardhome_1.9-11_all.zip
@tty228 可以考虑一下smartdns分流管理 luci?直接套用一下这个简陋模块也就够了
from gfwlist2agh.
Related Issues (20)
- 域名分流反馈 HOT 1
- 上游都用的哪些DNS?
- macOS的播客浏览打不开 HOT 2
- 黑名单可以增加多个上游服务器吗 HOT 3
- 导入到adhome 无法保存 HOT 1
- 请问作者如何使用 HOT 5
- 想问下域名列表用的哪个?
- blacklist_full.txt是不是出问题了?
- 能不能把谷歌和apple相关的域名放到qiang外解析里面,因为感觉这些虽然境内可以直连,但是实际上可能是勾子
- 请教 upstream_dns_file 每行的具体意义 HOT 4
- Solved
- Adguardhome使用问题 HOT 1
- 如何指定某域名为黑白名单,或从黑白名单中剔除某域名? HOT 1
- 可否写个使用说明?不会使用啊 HOT 1
- Domain Remove Request HOT 3
- 新增国内,国外域名列表 HOT 2
- 自定义域名问题
- 完善国外域名列表 HOT 1
- 这条是不是误判了? HOT 1
- AGH 单行多个上游支持 HOT 2
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 gfwlist2agh.