mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
The rewrite plugin modifies DNS messages, affecting the request size observed in the coredns_dns_request_size_bytes metric. This change captures the original request size before any plugins can modify it. It adds a functional options pattern to Report() to pass this information while maintaining API compatibility. Tests have been added to verify the fix prevents rewrite from affecting the request size metrics. Docs included. Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
190 lines
9.5 KiB
Modula-2
190 lines
9.5 KiB
Modula-2
module github.com/coredns/coredns
|
|
|
|
go 1.23.0
|
|
|
|
toolchain go1.24.1
|
|
|
|
require (
|
|
github.com/Azure/azure-sdk-for-go v68.0.0+incompatible
|
|
github.com/Azure/go-autorest/autorest v0.11.30
|
|
github.com/Azure/go-autorest/autorest/azure/auth v0.5.13
|
|
github.com/apparentlymart/go-cidr v1.1.0
|
|
github.com/aws/aws-sdk-go v1.55.7
|
|
github.com/aws/aws-sdk-go-v2/config v1.29.14
|
|
github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.35.4
|
|
github.com/coredns/caddy v1.1.2-0.20241029205200-8de985351a98
|
|
github.com/dnstap/golang-dnstap v0.4.0
|
|
github.com/expr-lang/expr v1.17.3
|
|
github.com/farsightsec/golang-framestream v0.3.0
|
|
github.com/go-logr/logr v1.4.2
|
|
github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645
|
|
github.com/infobloxopen/go-trees v0.0.0-20200715205103-96a057b8dfb9
|
|
github.com/matttproud/golang_protobuf_extensions v1.0.4
|
|
github.com/miekg/dns v1.1.66
|
|
github.com/opentracing/opentracing-go v1.2.0
|
|
github.com/openzipkin-contrib/zipkin-go-opentracing v0.5.0
|
|
github.com/openzipkin/zipkin-go v0.4.3
|
|
github.com/oschwald/geoip2-golang v1.11.0
|
|
github.com/prometheus/client_golang v1.22.0
|
|
github.com/prometheus/client_model v0.6.2
|
|
github.com/prometheus/common v0.64.0
|
|
github.com/quic-go/quic-go v0.51.0
|
|
go.etcd.io/etcd/api/v3 v3.6.0
|
|
go.etcd.io/etcd/client/v3 v3.6.0
|
|
go.uber.org/automaxprocs v1.6.0
|
|
golang.org/x/crypto v0.38.0
|
|
golang.org/x/sys v0.33.0
|
|
google.golang.org/api v0.233.0
|
|
google.golang.org/grpc v1.72.1
|
|
google.golang.org/protobuf v1.36.6
|
|
gopkg.in/DataDog/dd-trace-go.v1 v1.73.1
|
|
k8s.io/api v0.32.3
|
|
k8s.io/apimachinery v0.32.3
|
|
k8s.io/client-go v0.32.3
|
|
k8s.io/klog/v2 v2.130.1
|
|
sigs.k8s.io/mcs-api v0.1.1-0.20250224121229-6c631f4730d0
|
|
)
|
|
|
|
require (
|
|
cloud.google.com/go/auth v0.16.1 // indirect
|
|
cloud.google.com/go/auth/oauth2adapt v0.2.8 // indirect
|
|
cloud.google.com/go/compute/metadata v0.6.0 // indirect
|
|
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
|
|
github.com/Azure/go-autorest/autorest/adal v0.9.22 // indirect
|
|
github.com/Azure/go-autorest/autorest/azure/cli v0.4.6 // indirect
|
|
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
|
|
github.com/Azure/go-autorest/autorest/to v0.2.0 // indirect
|
|
github.com/Azure/go-autorest/logger v0.2.1 // indirect
|
|
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
|
|
github.com/DataDog/appsec-internal-go v1.9.0 // indirect
|
|
github.com/DataDog/datadog-agent/comp/core/tagger/origindetection v0.64.0-rc.1 // indirect
|
|
github.com/DataDog/datadog-agent/pkg/obfuscate v0.64.0-rc.1 // indirect
|
|
github.com/DataDog/datadog-agent/pkg/proto v0.64.0-rc.1 // indirect
|
|
github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.64.0-rc.1 // indirect
|
|
github.com/DataDog/datadog-agent/pkg/trace v0.64.0-rc.1 // indirect
|
|
github.com/DataDog/datadog-agent/pkg/util/log v0.64.0-rc.1 // indirect
|
|
github.com/DataDog/datadog-agent/pkg/util/scrubber v0.64.0-rc.1 // indirect
|
|
github.com/DataDog/datadog-agent/pkg/version v0.64.0-rc.1 // indirect
|
|
github.com/DataDog/datadog-go/v5 v5.6.0 // indirect
|
|
github.com/DataDog/go-libddwaf/v3 v3.5.3 // indirect
|
|
github.com/DataDog/go-runtime-metrics-internal v0.0.4-0.20241206090539-a14610dc22b6 // indirect
|
|
github.com/DataDog/go-sqllexer v0.1.0 // indirect
|
|
github.com/DataDog/go-tuf v1.1.0-0.5.2 // indirect
|
|
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.26.0 // indirect
|
|
github.com/DataDog/sketches-go v1.4.7 // indirect
|
|
github.com/Microsoft/go-winio v0.6.2 // indirect
|
|
github.com/aws/aws-sdk-go-v2 v1.36.3 // indirect
|
|
github.com/aws/aws-sdk-go-v2/credentials v1.17.67 // indirect
|
|
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.30 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.34 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.34 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.3 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.3 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.15 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/sso v1.25.3 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.30.1 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/sts v1.33.19 // indirect
|
|
github.com/aws/smithy-go v1.22.2 // indirect
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
|
github.com/cihub/seelog v0.0.0-20170130134532-f561c5e57575 // indirect
|
|
github.com/coreos/go-semver v0.3.1 // indirect
|
|
github.com/coreos/go-systemd/v22 v22.5.0 // indirect
|
|
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
|
|
github.com/dimchansky/utfbom v1.1.1 // indirect
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
github.com/eapache/queue/v2 v2.0.0-20230407133247-75960ed334e4 // indirect
|
|
github.com/ebitengine/purego v0.8.2 // indirect
|
|
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
|
|
github.com/felixge/httpsnoop v1.0.4 // indirect
|
|
github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568 // indirect
|
|
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
|
|
github.com/go-logr/stdr v1.2.2 // indirect
|
|
github.com/go-ole/go-ole v1.3.0 // indirect
|
|
github.com/go-openapi/jsonpointer v0.21.0 // indirect
|
|
github.com/go-openapi/jsonreference v0.20.2 // indirect
|
|
github.com/go-openapi/swag v0.23.0 // indirect
|
|
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
|
|
github.com/gogo/protobuf v1.3.2 // indirect
|
|
github.com/golang-jwt/jwt/v4 v4.5.2 // indirect
|
|
github.com/golang/protobuf v1.5.4 // indirect
|
|
github.com/google/gnostic-models v0.6.8 // indirect
|
|
github.com/google/go-cmp v0.7.0 // indirect
|
|
github.com/google/gofuzz v1.2.0 // indirect
|
|
github.com/google/pprof v0.0.0-20241210010833-40e02aabc2ad // indirect
|
|
github.com/google/s2a-go v0.1.9 // indirect
|
|
github.com/google/uuid v1.6.0 // indirect
|
|
github.com/googleapis/enterprise-certificate-proxy v0.3.6 // indirect
|
|
github.com/googleapis/gax-go/v2 v2.14.1 // indirect
|
|
github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.3 // indirect
|
|
github.com/hashicorp/go-secure-stdlib/parseutil v0.1.7 // indirect
|
|
github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 // indirect
|
|
github.com/hashicorp/go-sockaddr v1.0.2 // indirect
|
|
github.com/jmespath/go-jmespath v0.4.0 // indirect
|
|
github.com/josharian/intern v1.0.0 // indirect
|
|
github.com/json-iterator/go v1.1.12 // indirect
|
|
github.com/kylelemons/godebug v1.1.0 // indirect
|
|
github.com/lufia/plan9stats v0.0.0-20240226150601-1dcf7310316a // indirect
|
|
github.com/mailru/easyjson v0.7.7 // indirect
|
|
github.com/mitchellh/go-homedir v1.1.0 // indirect
|
|
github.com/mitchellh/mapstructure v1.5.1-0.20231216201459-8508981c8b6c // indirect
|
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
|
github.com/modern-go/reflect2 v1.0.2 // indirect
|
|
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
|
|
github.com/onsi/ginkgo/v2 v2.22.1 // indirect
|
|
github.com/onsi/gomega v1.36.2 // indirect
|
|
github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492 // indirect
|
|
github.com/oschwald/maxminddb-golang v1.13.0 // indirect
|
|
github.com/outcaste-io/ristretto v0.2.3 // indirect
|
|
github.com/philhofer/fwd v1.1.3-0.20240916144458-20a13a1f6b7c // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect
|
|
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect
|
|
github.com/prometheus/procfs v0.15.1 // indirect
|
|
github.com/puzpuzpuz/xsync/v3 v3.5.1 // indirect
|
|
github.com/ryanuber/go-glob v1.0.0 // indirect
|
|
github.com/secure-systems-lab/go-securesystemslib v0.9.0 // indirect
|
|
github.com/shirou/gopsutil/v4 v4.25.1 // indirect
|
|
github.com/spf13/pflag v1.0.5 // indirect
|
|
github.com/tinylib/msgp v1.2.5 // indirect
|
|
github.com/tklauser/go-sysconf v0.3.14 // indirect
|
|
github.com/tklauser/numcpus v0.8.0 // indirect
|
|
github.com/x448/float16 v0.8.4 // indirect
|
|
github.com/yusufpapurcu/wmi v1.2.4 // indirect
|
|
go.etcd.io/etcd/client/pkg/v3 v3.6.0 // indirect
|
|
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
|
|
go.opentelemetry.io/collector/component v0.120.0 // indirect
|
|
go.opentelemetry.io/collector/pdata v1.26.0 // indirect
|
|
go.opentelemetry.io/collector/pdata/pprofile v0.120.0 // indirect
|
|
go.opentelemetry.io/collector/semconv v0.120.0 // indirect
|
|
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.60.0 // indirect
|
|
go.opentelemetry.io/otel v1.35.0 // indirect
|
|
go.opentelemetry.io/otel/metric v1.35.0 // indirect
|
|
go.opentelemetry.io/otel/trace v1.35.0 // indirect
|
|
go.uber.org/atomic v1.11.0 // indirect
|
|
go.uber.org/mock v0.5.0 // indirect
|
|
go.uber.org/multierr v1.11.0 // indirect
|
|
go.uber.org/zap v1.27.0 // indirect
|
|
golang.org/x/exp v0.0.0-20250210185358-939b2ce775ac // indirect
|
|
golang.org/x/mod v0.24.0 // indirect
|
|
golang.org/x/net v0.40.0 // indirect
|
|
golang.org/x/oauth2 v0.30.0 // indirect
|
|
golang.org/x/sync v0.14.0 // indirect
|
|
golang.org/x/term v0.32.0 // indirect
|
|
golang.org/x/text v0.25.0 // indirect
|
|
golang.org/x/time v0.11.0 // indirect
|
|
golang.org/x/tools v0.32.0 // indirect
|
|
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
|
|
google.golang.org/genproto/googleapis/api v0.0.0-20250303144028-a0af3efb3deb // indirect
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20250505200425-f936aa4a68b2 // indirect
|
|
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
|
|
gopkg.in/inf.v0 v0.9.1 // indirect
|
|
gopkg.in/ini.v1 v1.67.0 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
k8s.io/kube-openapi v0.0.0-20241105132330-32ad38e42d3f // indirect
|
|
k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738 // indirect
|
|
sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 // indirect
|
|
sigs.k8s.io/structured-merge-diff/v4 v4.4.2 // indirect
|
|
sigs.k8s.io/yaml v1.4.0 // indirect
|
|
)
|