feat: 1.修改singbox dns污染问题, 2.修改丢失文案
This commit is contained in:
@@ -611,9 +611,9 @@ class KRSingBoxImp {
|
||||
final remoteDnsAddress = useWindowsDnsDefaults
|
||||
? 'udp://1.1.1.1'
|
||||
: 'https://dns.google/dns-query';
|
||||
final directDnsAddress = useWindowsDnsDefaults
|
||||
? (effectiveRegion == 'cn' ? 'udp://223.5.5.5' : 'udp://1.1.1.1')
|
||||
: 'local';
|
||||
final directDnsAddress = effectiveRegion == 'cn'
|
||||
? 'udp://223.5.5.5' // 中国: 阿里DNS(国内域名解析快)
|
||||
: 'udp://1.1.1.1'; // 其他: Cloudflare UDP(避免 local 被污染)
|
||||
final dnsDomainStrategy = useWindowsDnsDefaults ? '' : 'prefer_ipv4';
|
||||
|
||||
final op = {
|
||||
|
||||
Reference in New Issue
Block a user