-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
690 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM golang:1.20 | ||
ENV SSL_CERT_DIR=/etc/ssl/certs | ||
RUN apt-get update && apt-get install -y ca-certificates openssl | ||
|
||
|
||
RUN openssl s_client -showcerts -connect github.com:443 </dev/null 2>/dev/null|openssl x509 -outform PEM > ${SSL_CERT_DIR}/github.crt | ||
RUN openssl s_client -showcerts -connect proxy.golang.org:443 </dev/null 2>/dev/null|openssl x509 -outform PEM > ${SSL_CERT_DIR}/proxy.golang.crt | ||
RUN openssl s_client -showcerts -connect sum.golang.org:443 </dev/null 2>/dev/null|openssl x509 -outform PEM > ${SSL_CERT_DIR}/sum.golang.crt | ||
# Update certificates | ||
RUN update-ca-certificates | ||
|
||
COPY . /opt/coredns-drove/ | ||
COPY example/Corefile /opt/coredns-drove | ||
WORKDIR /opt/coredns-drove | ||
RUN go build | ||
EXPOSE 1053 1053/udp | ||
ENTRYPOINT ["/opt/coredns-drove/coredns-drove"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,139 @@ | ||
module phonepe.com/coredns-drove | ||
|
||
go 1.21 | ||
|
||
require ( | ||
github.com/PhonePe/coredns-drove v0.0.0-20240813141603-d87054dc87ee | ||
github.com/coredns/coredns v1.11.1 | ||
) | ||
|
||
require ( | ||
cloud.google.com/go/compute v1.23.0 // indirect | ||
cloud.google.com/go/compute/metadata v0.2.3 // indirect | ||
github.com/Azure/azure-sdk-for-go v68.0.0+incompatible // indirect | ||
github.com/Azure/go-autorest v14.2.0+incompatible // indirect | ||
github.com/Azure/go-autorest/autorest v0.11.29 // indirect | ||
github.com/Azure/go-autorest/autorest/adal v0.9.22 // indirect | ||
github.com/Azure/go-autorest/autorest/azure/auth v0.5.12 // indirect | ||
github.com/Azure/go-autorest/autorest/azure/cli v0.4.5 // 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.0.0 // indirect | ||
github.com/DataDog/datadog-agent/pkg/obfuscate v0.45.0-rc.1 // indirect | ||
github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.48.0-devel.0.20230725154044-2549ba9058df // indirect | ||
github.com/DataDog/datadog-go/v5 v5.1.1 // indirect | ||
github.com/DataDog/go-libddwaf v1.4.2 // indirect | ||
github.com/DataDog/go-tuf v1.0.1-0.5.2 // indirect | ||
github.com/DataDog/sketches-go v1.2.1 // indirect | ||
github.com/Microsoft/go-winio v0.5.2 // indirect | ||
github.com/antonmedv/expr v1.13.0 // indirect | ||
github.com/apparentlymart/go-cidr v1.1.0 // indirect | ||
github.com/aws/aws-sdk-go v1.44.322 // indirect | ||
github.com/beorn7/perks v1.0.1 // indirect | ||
github.com/cespare/xxhash/v2 v2.2.0 // indirect | ||
github.com/coredns/caddy v1.1.1 // indirect | ||
github.com/coreos/go-semver v0.3.0 // indirect | ||
github.com/coreos/go-systemd/v22 v22.3.2 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/dimchansky/utfbom v1.1.1 // indirect | ||
github.com/dnstap/golang-dnstap v0.4.0 // indirect | ||
github.com/dustin/go-humanize v1.0.1 // indirect | ||
github.com/ebitengine/purego v0.5.0-alpha // indirect | ||
github.com/emicklei/go-restful/v3 v3.10.2 // indirect | ||
github.com/farsightsec/golang-framestream v0.3.0 // indirect | ||
github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568 // indirect | ||
github.com/go-logr/logr v1.2.4 // indirect | ||
github.com/go-openapi/jsonpointer v0.19.6 // indirect | ||
github.com/go-openapi/jsonreference v0.20.1 // indirect | ||
github.com/go-openapi/swag v0.22.3 // indirect | ||
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect | ||
github.com/gogo/protobuf v1.3.2 // indirect | ||
github.com/golang-jwt/jwt/v4 v4.5.0 // indirect | ||
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect | ||
github.com/golang/mock v1.6.0 // indirect | ||
github.com/golang/protobuf v1.5.3 // indirect | ||
github.com/google/gnostic v0.5.7-v3refs // indirect | ||
github.com/google/go-cmp v0.5.9 // indirect | ||
github.com/google/gofuzz v1.2.0 // indirect | ||
github.com/google/pprof v0.0.0-20230509042627-b1315fad0c5a // indirect | ||
github.com/google/s2a-go v0.1.4 // indirect | ||
github.com/google/uuid v1.3.0 // indirect | ||
github.com/googleapis/enterprise-certificate-proxy v0.2.5 // indirect | ||
github.com/googleapis/gax-go/v2 v2.12.0 // indirect | ||
github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect | ||
github.com/imdario/mergo v0.3.12 // indirect | ||
github.com/infobloxopen/go-trees v0.0.0-20200715205103-96a057b8dfb9 // 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/mailru/easyjson v0.7.7 // indirect | ||
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect | ||
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect | ||
github.com/miekg/dns v1.1.58 // indirect | ||
github.com/mitchellh/go-homedir v1.1.0 // 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.11.0 // indirect | ||
github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492 // indirect | ||
github.com/opentracing/opentracing-go v1.2.0 // indirect | ||
github.com/openzipkin-contrib/zipkin-go-opentracing v0.5.0 // indirect | ||
github.com/openzipkin/zipkin-go v0.4.2 // indirect | ||
github.com/oschwald/geoip2-golang v1.9.0 // indirect | ||
github.com/oschwald/maxminddb-golang v1.11.0 // indirect | ||
github.com/outcaste-io/ristretto v0.2.1 // indirect | ||
github.com/philhofer/fwd v1.1.2 // indirect | ||
github.com/pkg/errors v0.9.1 // indirect | ||
github.com/prometheus/client_golang v1.18.0 // indirect | ||
github.com/prometheus/client_model v0.5.0 // indirect | ||
github.com/prometheus/common v0.45.0 // indirect | ||
github.com/prometheus/procfs v0.12.0 // indirect | ||
github.com/quic-go/qtls-go1-20 v0.3.1 // indirect | ||
github.com/quic-go/quic-go v0.37.4 // indirect | ||
github.com/secure-systems-lab/go-securesystemslib v0.7.0 // indirect | ||
github.com/spf13/pflag v1.0.5 // indirect | ||
github.com/tinylib/msgp v1.1.8 // indirect | ||
go.etcd.io/etcd/api/v3 v3.5.9 // indirect | ||
go.etcd.io/etcd/client/pkg/v3 v3.5.9 // indirect | ||
go.etcd.io/etcd/client/v3 v3.5.9 // indirect | ||
go.opencensus.io v0.24.0 // indirect | ||
go.uber.org/atomic v1.11.0 // indirect | ||
go.uber.org/multierr v1.6.0 // indirect | ||
go.uber.org/zap v1.17.0 // indirect | ||
go4.org/intern v0.0.0-20211027215823-ae77deb06f29 // indirect | ||
go4.org/unsafe/assume-no-moving-gc v0.0.0-20220617031537-928513b29760 // indirect | ||
golang.org/x/crypto v0.18.0 // indirect | ||
golang.org/x/exp v0.0.0-20221205204356-47842c84f3db // indirect | ||
golang.org/x/mod v0.14.0 // indirect | ||
golang.org/x/net v0.20.0 // indirect | ||
golang.org/x/oauth2 v0.12.0 // indirect | ||
golang.org/x/sys v0.16.0 // indirect | ||
golang.org/x/term v0.16.0 // indirect | ||
golang.org/x/text v0.14.0 // indirect | ||
golang.org/x/time v0.3.0 // indirect | ||
golang.org/x/tools v0.17.0 // indirect | ||
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect | ||
google.golang.org/api v0.136.0 // indirect | ||
google.golang.org/appengine v1.6.7 // indirect | ||
google.golang.org/genproto v0.0.0-20230803162519-f966b187b2e5 // indirect | ||
google.golang.org/genproto/googleapis/api v0.0.0-20230803162519-f966b187b2e5 // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20230807174057-1744710a1577 // indirect | ||
google.golang.org/grpc v1.57.0 // indirect | ||
google.golang.org/protobuf v1.31.0 // indirect | ||
gopkg.in/DataDog/dd-trace-go.v1 v1.54.0 // indirect | ||
gopkg.in/inf.v0 v0.9.1 // indirect | ||
gopkg.in/yaml.v2 v2.4.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
inet.af/netaddr v0.0.0-20220811202034-502d2d690317 // indirect | ||
k8s.io/api v0.27.4 // indirect | ||
k8s.io/apimachinery v0.27.4 // indirect | ||
k8s.io/client-go v0.27.4 // indirect | ||
k8s.io/klog/v2 v2.100.1 // indirect | ||
k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f // indirect | ||
k8s.io/utils v0.0.0-20230209194617-a36077c30491 // indirect | ||
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect | ||
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect | ||
sigs.k8s.io/yaml v1.3.0 // indirect | ||
) |
Oops, something went wrong.