fix: dns specified interface does not change

This commit is contained in:
Skyxim
2022-04-28 22:40:06 +08:00
parent e2409f9639
commit bbbe371ea9
3 changed files with 7 additions and 5 deletions

View File

@ -689,7 +689,7 @@ func parseNameServer(servers []string) ([]dns.NameServer, error) {
Net: dnsNetType,
Addr: addr,
ProxyAdapter: u.Fragment,
Interface: dialer.DefaultInterface.Load(),
Interface: dialer.DefaultInterface,
},
)
}