Skip to content

Conversation

@ZqinKing
Copy link

当上游DNS服务器使用以域名形式指定的DoT(DNS over TLS)或DoH(DNS over HTTPS)协议时,如果域名过滤规则中包含了这些上游DNS服务器的域名,会导致域名解析失败。导致无上游可用。

例如,添加加密通道拦截列表:https://adguardteam.github.io/HostlistsRegistry/assets/filter_52.txt 时,就会出现这种现象。

PS:修改的不一定合适,因为不太了解那几个flag的用法,可能添加一个新的flag标记会更优雅些。

@pymumu
Copy link
Owner

pymumu commented Feb 24, 2025

设置规则忽略

@ZqinKing
Copy link
Author

ZqinKing commented Feb 24, 2025

设置规则忽略

只是上游时想要忽略掉,实际响应下游时还是需要过滤掉doh、dot等相关域名,这种也能配置嘛?比如smartdns使用阿里的doh作为上游,但是网内终端查询阿里doh域名时还是需要soa

@pymumu pymumu force-pushed the master branch 5 times, most recently from 1995ee3 to 1f5ef8e Compare April 13, 2025 12:23
@PikuZheng
Copy link
Contributor

如果设置一个配置组 bootstrap-dns ,把 bootstrap 拿到这个组的配置里处理就能解决这个需求

@pymumu pymumu force-pushed the master branch 3 times, most recently from 858ab9e to b547030 Compare August 14, 2025 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants