From 91af0785806a3670cd02f59cdff2ea710e0a4c79 Mon Sep 17 00:00:00 2001 From: gVisor bot Date: Thu, 21 Jul 2022 13:57:06 +0800 Subject: [PATCH] fix: DoT-ALPN error --- dns/util.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/dns/util.go b/dns/util.go index a5cb6c68..280a35df 100644 --- a/dns/util.go +++ b/dns/util.go @@ -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,