diff --git a/resolver/upstream_resolver.go b/resolver/upstream_resolver.go index 84bf142dd..31f5f706d 100644 --- a/resolver/upstream_resolver.go +++ b/resolver/upstream_resolver.go @@ -80,21 +80,18 @@ func createUpstreamClient(cfg config.Upstream) upstreamClient { case config.NetProtocolTcpTls: return &dnsUpstreamClient{ tcpClient: &dns.Client{ - TLSConfig: &tlsConfig, - Net: cfg.Net.String(), - SingleInflight: true, + TLSConfig: &tlsConfig, + Net: cfg.Net.String(), }, } case config.NetProtocolTcpUdp: return &dnsUpstreamClient{ tcpClient: &dns.Client{ - Net: "tcp", - SingleInflight: true, + Net: "tcp", }, udpClient: &dns.Client{ - Net: "udp", - SingleInflight: true, + Net: "udp", }, }