Add fallback local DNS server for iOS

This commit is contained in:
世界
2025-07-08 13:12:18 +08:00
parent 5c4211e849
commit 9a5f69f435
11 changed files with 293 additions and 45 deletions
+1 -1
View File
@@ -221,7 +221,7 @@ func fetchECHClientConfig(ctx context.Context) func(_ context.Context, serverNam
return nil, err
}
if response.Rcode != mDNS.RcodeSuccess {
return nil, dns.RCodeError(response.Rcode)
return nil, dns.RcodeError(response.Rcode)
}
for _, rr := range response.Answer {
switch resource := rr.(type) {