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

功能请求:提供未命中黑白名单的查询结果的更多处理方式 #56

Closed
SharerMax opened this issue Aug 11, 2020 · 4 comments

Comments

@SharerMax
Copy link

按照目前文档的描述,无论如何设置,最终都会判断上游 dns 的返回 IP 是否为国内的,如果不为国内的 IP 就会丢弃 china-dns 的结果,只使用上游 trus-dns 的返回结果。

如果说我 trus-dns 的查询是走代理的,一些未被污染的国外域名且未被墙的(其 IP 非国内)查询到的结果最终也是通过代理查询到的,其返回的 IP 地址对代理服务器是最优的,然而对于我本地来说却可能不是最优的。

基于此,希望能提供一个选项来提供未命中黑白名单的查询结果的更多处理方式。如:

  1. 未命中黑白名单的请求结果判断其 IP 是否命中 chnroute, 如果命中使用 china-dns 的结果,负责使用 trus-dns 的结果
  2. 未命中黑白名单的请求结果统一使用 china-dns 的结果
  3. 未命中黑白名单的请求结果统一使用 trus-dns 的结果
  4. 未命中黑白名单的请求结果使用 china-dnstrus-dns 最先返回的结果
@zfl9
Copy link
Owner

zfl9 commented Aug 16, 2020

目前没有时间和精力

@zfl9
Copy link
Owner

zfl9 commented Aug 16, 2020

可以通过chinadns-ng的上游dns来间接实现此功能,比如有人喜欢用smartdns(虽然我都没用过)。

@anafkk
Copy link

anafkk commented Aug 20, 2020

@SharerMax 你隧道用国外 IP /绕过大陆的匹配模式,让那些未被墙的国外域名也走隧道好了,这样是最快的

@zfl9 zfl9 closed this as completed Aug 30, 2020
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

No branches or pull requests

4 participants
@SharerMax @zfl9 @anafkk and others