fix: let any type of dns server can use remote proxy
This commit is contained in:
parent
cd99b2e795
commit
e03fcd24dd
1 changed files with 3 additions and 1 deletions
|
@ -855,7 +855,9 @@ func parseNameServer(servers []string, preferH3 bool) ([]dns.NameServer, error)
|
|||
return nil, fmt.Errorf("DNS NameServer[%d] format error: %s", idx, err.Error())
|
||||
}
|
||||
|
||||
var addr, dnsNetType, proxyAdapter string
|
||||
proxyAdapter := u.Fragment
|
||||
|
||||
var addr, dnsNetType string
|
||||
params := map[string]string{}
|
||||
switch u.Scheme {
|
||||
case "udp":
|
||||
|
|
Loading…
Reference in a new issue