Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query domain of upstream DNS server, ignored address rules #1920

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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

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.

2 participants