fix: DoT-ALPN error

This commit is contained in:
gVisor bot 2022-07-21 13:57:06 +08:00
parent 9201e7a43a
commit 91af078580

View file

@ -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,