Repository navigation
Conversation
Author
|
更新了下 DNS 出站的 IPv4/IPv6 连接逻辑,支持双栈优先级判断,和连接失败或超时后支持回退机制。 dns 的 type 可以指定 在设置生效性上,hint 的优先级最高,其次是 dns 的 type,然后看 device 来决定双栈策略,最后托底保留原始 ipv4 策略。
单写 hint 或网卡只有一个可用地址族时,只使用该地址族,不回退。 A 和 AAAA 查询可以同时发起,但不能因为同时查 DNS 就同时无条件发起连接。 |
|
双栈那块是我写的。你的 fix 是要 fix 什么问题? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.