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:
Andrew Dunham
2023-06-19 10:09:12 -04:00
parent 1302295299
commit b6d20e6f8f
3 changed files with 4 additions and 8 deletions

View File

@@ -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