mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-11 21:27:31 +00:00
go.mod, net/dns/recursive: update github.com/miekg/dns
Updates #cleanup Change-Id: If4de6a84448a17dd81cc2a8af788bd18c3d0bbe3 Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
This commit is contained in:
@@ -582,12 +582,8 @@ func (r *Resolver) queryNameserverProto(
|
||||
}
|
||||
|
||||
// Send the DNS request to the current nameserver.
|
||||
//
|
||||
// TODO(andrew): use ExchangeWithConnContext after this upstream PR is
|
||||
// merged:
|
||||
// https://github.com/miekg/dns/pull/1459
|
||||
r.depthlogf(depth, "asking %s over %s about %q (type: %v)", nameserverStr, protocol, name, qtype)
|
||||
resp, _, err = c.ExchangeWithConn(m, conn)
|
||||
resp, _, err = c.ExchangeWithConnContext(ctx, m, conn)
|
||||
}
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
Reference in New Issue
Block a user