diff --git a/go.mod b/go.mod index bab799661943cbcf324467ca4ec18ba9972ffb16..5e17ce549717a0d3eb53900b2c033ae5405fe72c 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 62c7d11e9264b8338a32b42507b86162e97ecb9a..232ba86b6a3fc5e0a412568a95af668d7878d5e5 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 e5a037f03b56c8b813edd59b6141537aa893ade2..3594492b7cd13217b483f0886c8d8cf9902107a0 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 eec02ef9b7a7f837f9b7b3c1e4fa59b08975c3d8..b2a63bda4958ec644b61fc1154e46f94f8dc4323 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 4c33f0a5f4dab5eb6eb86c57d6ecc316559d0d47..8f7cf768812809735c266db32bc529d1b46e707b 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 fca8695b02f5f381c6106cf7507407d8f1097539..011dc2e6df0e40daef8366564a6a8ed8eb2f59ca 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