From d078b84d20e0c17a1963dd38ff311d72f14d5ded Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 10 Jul 2025 04:13:59 +0000 Subject: [PATCH] build(deps): bump github.com/miekg/dns from 1.1.66 to 1.1.67 --- updated-dependencies: - dependency-name: github.com/miekg/dns dependency-version: 1.1.67 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Signed-off-by: Akihiro Suda --- go.mod | 2 +- go.sum | 4 ++-- pkg/hostagent/dns/dns_test.go | 5 +++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 9efd8dd5b3c..30aabc5e2e1 100644 --- a/go.mod +++ b/go.mod @@ -29,7 +29,7 @@ require ( github.com/mattn/go-isatty v0.0.20 github.com/mattn/go-shellwords v1.0.12 github.com/mdlayher/vsock v1.2.1 // gomodjail:unconfined - github.com/miekg/dns v1.1.66 // gomodjail:unconfined + github.com/miekg/dns v1.1.67 // gomodjail:unconfined github.com/mikefarah/yq/v4 v4.45.1 github.com/nxadm/tail v1.4.11 // gomodjail:unconfined github.com/opencontainers/go-digest v1.0.0 diff --git a/go.sum b/go.sum index 2646c22034b..b16efa93b23 100644 --- a/go.sum +++ b/go.sum @@ -184,8 +184,8 @@ github.com/mdlayher/vsock v1.2.1/go.mod h1:NRfCibel++DgeMD8z/hP+PPTjlNJsdPOmxcnE github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b h1:j7+1HpAFS1zy5+Q4qx1fWh90gTKwiN4QCGoY9TWyyO4= github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE= github.com/miekg/dns v1.1.57/go.mod h1:uqRjCRUuEAA6qsOiJvDd+CFo/vW+y5WR6SNmHE55hZk= -github.com/miekg/dns v1.1.66 h1:FeZXOS3VCVsKnEAd+wBkjMC3D2K+ww66Cq3VnCINuJE= -github.com/miekg/dns v1.1.66/go.mod h1:jGFzBsSNbJw6z1HYut1RKBKHA9PBdxeHrZG8J+gC2WE= +github.com/miekg/dns v1.1.67 h1:kg0EHj0G4bfT5/oOys6HhZw4vmMlnoZ+gDu8tJ/AlI0= +github.com/miekg/dns v1.1.67/go.mod h1:fujopn7TB3Pu3JM69XaawiU0wqjpL9/8xGop5UrTPps= github.com/mikefarah/yq/v4 v4.45.1 h1:EW+HjKEVa55pUYFJseEHEHdQ0+ulunY+q42zF3M7ZaQ= github.com/mikefarah/yq/v4 v4.45.1/go.mod h1:djgN2vD749hpjVNGYTShr5Kmv5LYljhCG3lUTuEe3LM= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= diff --git a/pkg/hostagent/dns/dns_test.go b/pkg/hostagent/dns/dns_test.go index d21a06b5530..c32db6773c7 100644 --- a/pkg/hostagent/dns/dns_test.go +++ b/pkg/hostagent/dns/dns_test.go @@ -154,6 +154,11 @@ func (r TestResponseWriter) RemoteAddr() net.Addr { return new(TestAddr) } +// Network returns the value of the Net field of the Server (e.g., "tcp", "tcp-tls"). +func (r TestResponseWriter) Network() string { + return "" +} + // WriteMsg writes a reply back to the client. func (r TestResponseWriter) WriteMsg(newMsg *dns.Msg) error { dnsResult = newMsg