diff --git a/net/dns/resolver/forwarder.go b/net/dns/resolver/forwarder.go index 7fda4aca9..2605a67ec 100644 --- a/net/dns/resolver/forwarder.go +++ b/net/dns/resolver/forwarder.go @@ -57,9 +57,6 @@ func truncatedFlagSet(pkt []byte) bool { } const ( - // responseTimeout is the maximal amount of time to wait for a DNS response. - responseTimeout = 5 * time.Second - // dohTransportTimeout is how long to keep idle HTTP // connections open to DNS-over-HTTPs servers. This is pretty // arbitrary.