mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2025-02-23 02:03:14 +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