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.
修复 #7227 (comment) ,当 Outbound Freedom domainStrategy 为 UseIP 时,部分域名因为被
geosite:geolocation-!cn
和geosite:cn
同时包含,导致 freedom 直连到国外 IP。比如dl.google.com
等 Google CN 域名。修复后:
当 dns 查询域名在
geosite:cn
时,查询顺序为:223.5.5.5
->1.1.1.1
->8.8.8.8
->https://dns.google/dns-query
当 dns 查询域名不在
geosite:cn
时,查询顺序为:1.1.1.1
->8.8.8.8
->https://dns.google/dns-query
当 dns 查询域名为
domain:gstatic.com
时,查询顺序为:1.1.1.1 ("skipFallback": true)
->1.1.1.1
->8.8.8.8
->https://dns.google/dns-query
1.1.1.1
的"skipFallback": true
是为了防止不在geosite:cn
的域名多次查询到1.1.1.1