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

DoH性能问题、DoH下AAAA重新过滤、DNS查询分组订阅 #2212

Merged
merged 2 commits into from
Feb 5, 2020
Merged

DoH性能问题、DoH下AAAA重新过滤、DNS查询分组订阅 #2212

merged 2 commits into from
Feb 5, 2020

Conversation

mzz2017
Copy link
Contributor

@mzz2017 mzz2017 commented Feb 4, 2020

  1. d520bc2 解决了在请求AAAA记录时,DoH服务器返回A记录的问题,相关issues DOH下AAAA查询可能返回A结果,需要进行过滤 #2211
  2. be9ce7f 将DNS查询按域名和A和AAAA进行分组订阅,避免了同时查询某域名的A和AAAA记录时,提前sub.Wait()结束,导致在for循环中反复调用s.findIPsForDomain,影响性能。
  3. be9ce7f 解决DoH模式下某A/AAAA查询为空的时候在func QueryIP的for循环中无法正确return,反复循环影响性能,且在其后由于timeout而导致轮询DNS服务器,导致在该情况下的DNS请求迟迟无法结束。

@mzz2017
Copy link
Contributor Author

mzz2017 commented Feb 4, 2020

之前一直觉得DoH不痛快,现在查询速度终于起飞了

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.

None yet

2 participants