Merge pull request #51898 from renovate-bot/renovate/github.com-miekg-dns-1.x

fix(deps): update module github.com/miekg/dns to v1.1.72
This commit is contained in:
Sebastiaan van Stijn
2026-01-23 11:29:26 +01:00
committed by GitHub
6 changed files with 16 additions and 8 deletions

2
go.mod
View File

@@ -54,7 +54,7 @@ require (
github.com/hashicorp/serf v0.8.5
github.com/in-toto/in-toto-golang v0.9.0
github.com/ishidawataru/sctp v0.0.0-20251114114122-19ddcbc6aae2
github.com/miekg/dns v1.1.70
github.com/miekg/dns v1.1.72
github.com/mistifyio/go-zfs/v3 v3.1.0
github.com/mitchellh/copystructure v1.2.0
github.com/moby/buildkit v0.27.0

4
go.sum
View File

@@ -534,8 +534,8 @@ github.com/mdlayher/socket v0.5.1 h1:VZaqt6RkGkt2OE9l3GcC6nZkqD3xKeQLyfleW/uBcos
github.com/mdlayher/socket v0.5.1/go.mod h1:TjPLHI1UgwEv5J1B5q0zTZq12A/6H7nKmtTanQE37IQ=
github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso=
github.com/miekg/dns v1.1.70 h1:DZ4u2AV35VJxdD9Fo9fIWm119BsQL5cZU1cQ9s0LkqA=
github.com/miekg/dns v1.1.70/go.mod h1:+EuEPhdHOsfk6Wk5TT2CzssZdqkmFhf8r+aVyDEToIs=
github.com/miekg/dns v1.1.72 h1:vhmr+TF2A3tuoGNkLDFK9zi36F2LS+hKTRW0Uf8kbzI=
github.com/miekg/dns v1.1.72/go.mod h1:+EuEPhdHOsfk6Wk5TT2CzssZdqkmFhf8r+aVyDEToIs=
github.com/mistifyio/go-zfs/v3 v3.1.0 h1:FZaylcg0hjUp27i23VcJJQiuBeAZjrC8lPqCGM1CopY=
github.com/mistifyio/go-zfs/v3 v3.1.0/go.mod h1:CzVgeB0RvF2EGzQnytKVvVSDwmKJXxkOTUGbNrTja/k=
github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc=

View File

@@ -57,8 +57,8 @@ type Client struct {
// Client.Dialer) or context.Context.Deadline (see ExchangeContext)
Timeout time.Duration
DialTimeout time.Duration // net.DialTimeout, defaults to 2 seconds, or net.Dialer.Timeout if expiring earlier - overridden by Timeout when that value is non-zero
ReadTimeout time.Duration // net.Conn.SetReadTimeout value for connections, defaults to 2 seconds - overridden by Timeout when that value is non-zero
WriteTimeout time.Duration // net.Conn.SetWriteTimeout value for connections, defaults to 2 seconds - overridden by Timeout when that value is non-zero
ReadTimeout time.Duration // net.Conn.SetReadDeadline value for connections, defaults to 2 seconds - overridden by Timeout when that value is non-zero
WriteTimeout time.Duration // net.Conn.SetWriteDeadline value for connections, defaults to 2 seconds - overridden by Timeout when that value is non-zero
TsigSecret map[string]string // secret(s) for Tsig map[<zonename>]<base64 secret>, zonename must be in canonical form (lowercase, fqdn, see RFC 4034 Section 6.2)
TsigProvider TsigProvider // An implementation of the TsigProvider interface. If defined it replaces TsigSecret and is used for all TSIG operations.
@@ -92,6 +92,9 @@ func (c *Client) dialTimeout() time.Duration {
}
func (c *Client) readTimeout() time.Duration {
if c.Timeout != 0 {
return c.Timeout
}
if c.ReadTimeout != 0 {
return c.ReadTimeout
}
@@ -99,6 +102,9 @@ func (c *Client) readTimeout() time.Duration {
}
func (c *Client) writeTimeout() time.Duration {
if c.Timeout != 0 {
return c.Timeout
}
if c.WriteTimeout != 0 {
return c.WriteTimeout
}

4
vendor/github.com/miekg/dns/msg.go generated vendored
View File

@@ -338,11 +338,13 @@ loop:
return off + 2, nil
}
// Trailing root label
if off < len(msg) {
msg[off] = 0
return off + 1, nil
}
return off + 1, nil
return off, ErrBuf
}
// isRootLabel returns whether s or bs, from off to end, is the root

View File

@@ -3,7 +3,7 @@ package dns
import "fmt"
// Version is current version of this library.
var Version = v{1, 1, 70}
var Version = v{1, 1, 72}
// v holds the version of this library.
type v struct {

2
vendor/modules.txt vendored
View File

@@ -950,7 +950,7 @@ github.com/klauspost/compress/zstd/internal/xxhash
# github.com/knqyf263/go-plugin v0.9.0
## explicit; go 1.24.0
github.com/knqyf263/go-plugin/wasm
# github.com/miekg/dns v1.1.70
# github.com/miekg/dns v1.1.72
## explicit; go 1.24.0
github.com/miekg/dns
# github.com/mistifyio/go-zfs/v3 v3.1.0