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

优化下缓存的策略优先级 #5055

Open
3 tasks done
Bitcion opened this issue Oct 20, 2022 · 0 comments
Open
3 tasks done

优化下缓存的策略优先级 #5055

Bitcion opened this issue Oct 20, 2022 · 0 comments

Comments

@Bitcion
Copy link

Bitcion commented Oct 20, 2022

Prerequisites

  • I have checked the Wiki and Discussions and found no answer

  • I have searched other issues and found no duplicates

  • I want to request a feature or enhancement and not ask a question

Description

并行请求既然查询了所有上游dns,那能不能对缓存的保留和使用设置一个优先级呢
比如读取缓存时优先使用dot doh这些安全dns的缓存或者是支持dnssec的解析

这样可以把速度快但不够安全的dns与安全但速度慢的dns一起使用,可能第一次访问有问题,但是之后用缓存解析时可以获得正确dns,解决dns污染

这样在速度跟安全之间得到一个好的结果

@Bitcion Bitcion changed the title 缓存策略的优化 优化下缓存的策略优先级 Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants