fix: DoT-ALPN error
This commit is contained in:
parent
9201e7a43a
commit
91af078580
1 changed files with 0 additions and 2 deletions
|
@ -74,8 +74,6 @@ func transform(servers []NameServer, resolver *Resolver, preferH3 bool) []dnsCli
|
||||||
Client: &D.Client{
|
Client: &D.Client{
|
||||||
Net: s.Net,
|
Net: s.Net,
|
||||||
TLSConfig: &tls.Config{
|
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,
|
ServerName: host,
|
||||||
},
|
},
|
||||||
UDPSize: 4096,
|
UDPSize: 4096,
|
||||||
|
|
Loading…
Reference in a new issue