mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 03:32:33 +08:00
fix: DoT-ALPN error
This commit is contained in:
parent
fe3ad3724c
commit
b0fd50453a
|
@ -74,8 +74,6 @@ func transform(servers []NameServer, resolver *Resolver, preferH3 bool) []dnsCli
|
|||
Client: &D.Client{
|
||||
Net: s.Net,
|
||||
TLSConfig: &tls.Config{
|
||||
// alpn identifier, see https://tools.ietf.org/html/draft-hoffman-dprive-dns-tls-alpn-00#page-6
|
||||
NextProtos: []string{"dns"},
|
||||
ServerName: host,
|
||||
},
|
||||
UDPSize: 4096,
|
||||
|
|
Loading…
Reference in New Issue
Block a user