From c02286b5f4a66c881f20c090e879adb7447a9e46 Mon Sep 17 00:00:00 2001 From: renovate <renovate-bot@autistici.org> Date: Thu, 25 Feb 2021 10:25:54 +0000 Subject: [PATCH] Update module miekg/dns to v1.1.40 --- go.mod | 2 +- go.sum | 2 ++ vendor/github.com/miekg/dns/README.md | 1 + vendor/github.com/miekg/dns/server.go | 1 + vendor/github.com/miekg/dns/version.go | 2 +- vendor/modules.txt | 2 +- 6 files changed, 7 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index bab79966..5e17ce54 100644 --- a/go.mod +++ b/go.mod @@ -9,7 +9,7 @@ require ( github.com/google/subcommands v1.2.0 github.com/jmcvetta/randutil v0.0.0-20150817122601-2bb1b664bcff github.com/lpar/gzipped v1.1.1-0.20190413023519-5d9a18ea7f47 - github.com/miekg/dns v1.1.39 + github.com/miekg/dns v1.1.40 github.com/prometheus/client_golang v1.9.0 github.com/prometheus/common v0.17.0 go.etcd.io/etcd v0.5.0-alpha.5.0.20190401205724-a621d807f061 diff --git a/go.sum b/go.sum index 62c7d11e..232ba86b 100644 --- a/go.sum +++ b/go.sum @@ -202,6 +202,8 @@ github.com/miekg/dns v1.1.38 h1:MtIY+fmHUVVgv1AXzmKMWcwdCYxTRPG1EDjpqF4RCEw= github.com/miekg/dns v1.1.38/go.mod h1:KNUDUusw/aVsxyTYZM1oqvCicbwhgbNgztCETuNZ7xM= github.com/miekg/dns v1.1.39 h1:6dRfDGnHiXOMmTZkwWANy7bBXXlKls5Qu+pn+Ue0TLo= github.com/miekg/dns v1.1.39/go.mod h1:KNUDUusw/aVsxyTYZM1oqvCicbwhgbNgztCETuNZ7xM= +github.com/miekg/dns v1.1.40 h1:pyyPFfGMnciYUk/mXpKkVmeMQjfXqt3FAJ2hy7tPiLA= +github.com/miekg/dns v1.1.40/go.mod h1:KNUDUusw/aVsxyTYZM1oqvCicbwhgbNgztCETuNZ7xM= github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc= github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= diff --git a/vendor/github.com/miekg/dns/README.md b/vendor/github.com/miekg/dns/README.md index e5a037f0..3594492b 100644 --- a/vendor/github.com/miekg/dns/README.md +++ b/vendor/github.com/miekg/dns/README.md @@ -72,6 +72,7 @@ A not-so-up-to-date-list-that-may-be-actually-current: * https://github.com/Luzilla/dnsbl_exporter * https://github.com/bodgit/tsig * https://github.com/v2fly/v2ray-core (test only) +* https://kuma.io/ Send pull request if you want to be listed here. diff --git a/vendor/github.com/miekg/dns/server.go b/vendor/github.com/miekg/dns/server.go index eec02ef9..b2a63bda 100644 --- a/vendor/github.com/miekg/dns/server.go +++ b/vendor/github.com/miekg/dns/server.go @@ -321,6 +321,7 @@ func (srv *Server) ListenAndServe() error { } u := l.(*net.UDPConn) if e := setUDPSocketOptions(u); e != nil { + u.Close() return e } srv.PacketConn = l diff --git a/vendor/github.com/miekg/dns/version.go b/vendor/github.com/miekg/dns/version.go index 4c33f0a5..8f7cf768 100644 --- a/vendor/github.com/miekg/dns/version.go +++ b/vendor/github.com/miekg/dns/version.go @@ -3,7 +3,7 @@ package dns import "fmt" // Version is current version of this library. -var Version = v{1, 1, 39} +var Version = v{1, 1, 40} // v holds the version of this library. type v struct { diff --git a/vendor/modules.txt b/vendor/modules.txt index fca8695b..011dc2e6 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -72,7 +72,7 @@ github.com/konsorten/go-windows-terminal-sequences github.com/lpar/gzipped # github.com/matttproud/golang_protobuf_extensions v1.0.1 github.com/matttproud/golang_protobuf_extensions/pbutil -# github.com/miekg/dns v1.1.39 +# github.com/miekg/dns v1.1.40 ## explicit github.com/miekg/dns # github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd -- GitLab