Commit Graph

46 Commits

Author SHA1 Message Date
dependabot-preview[bot]
fe0f3d9818 build(deps): bump github.com/caddyserver/caddy from 1.0.1 to 1.0.3 (#3148)
Bumps [github.com/caddyserver/caddy](https://github.com/caddyserver/caddy) from 1.0.1 to 1.0.3.
- [Release notes](https://github.com/caddyserver/caddy/releases)
- [Commits](https://github.com/caddyserver/caddy/compare/v1.0.1...v1.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 07:53:09 -07:00
Yong Tang
6402cef337 Move federation plugin to github.com/coredns/federation (#3139)
* Remove federation

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Rebuild and point to github.com/coredns/federation

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Export `localNodeName` => `LocalNodeName`, to be used by federation (until deprecation)

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Remove plugin/kubernetes/federation.go (=> kubernetes/federation repo)

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Update github.com/coredns/federation

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* sticker-ci fix

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-08-18 14:41:51 -07:00
Palash Nigam
194b0f95b4 Add Google Cloud DNS plugin (#3011)
Signed-off-by: Palash Nigam <npalash25@gmail.com>

Closes: #2822
2019-08-17 13:59:09 -07:00
Miek Gieben
ca57dd3568 deps: update (#3120)
Just building in master updates the deps.

Pushing this as a PR to get a clean build back.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-08-13 13:56:21 +00:00
dependabot-preview[bot]
555e4877ae build(deps): bump github.com/aws/aws-sdk-go from 1.21.2 to 1.22.3 (#3116)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.21.2 to 1.22.3.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.21.2...v1.22.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-12 18:28:39 +00:00
dependabot-preview[bot]
04fa7d1e71 build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.16.0 to 1.16.1 (#3114)
Bumps [gopkg.in/DataDog/dd-trace-go.v1](https://github.com/DataDog/dd-trace-go) from 1.16.0 to 1.16.1.
- [Release notes](https://github.com/DataDog/dd-trace-go/releases)
- [Commits](https://github.com/DataDog/dd-trace-go/compare/v1.16.0...v1.16.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-12 18:26:51 +00:00
dependabot-preview[bot]
a5de7932c5 build(deps): bump github.com/Azure/go-autorest/autorest (#3112)
Bumps [github.com/Azure/go-autorest/autorest](https://github.com/Azure/go-autorest) from 0.5.0 to 0.8.0.
- [Release notes](https://github.com/Azure/go-autorest/releases)
- [Changelog](https://github.com/Azure/go-autorest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Azure/go-autorest/compare/autorest/v0.5.0...autorest/v0.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-12 18:26:37 +00:00
dependabot-preview[bot]
cdbe55e551 build(deps): bump github.com/prometheus/client_golang (#3111)
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.0.0...v1.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-12 18:26:01 +00:00
Miek Gieben
ebe6a41e50 deps: up klog to 0.4.0 (#3109)
New version to get the fix for:
https://github.com/kubernetes/klog/pull/83
which can fix:
https://github.com/coredns/coredns/pull/3055

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-08-10 07:19:59 +00:00
Darshan Chaudhary
879466b028 Add plugin for Azure DNS (#2945)
* Add plugin for Azure DNS

Signed-off-by: darshanime <deathbullet@gmail.com>

* Rename AzureDNS plugin to Azure

Signed-off-by: darshanime <deathbullet@gmail.com>

* remove upstream from azure syntax

Signed-off-by: darshanime <deathbullet@gmail.com>

* Rename azure plugin block keynames

Signed-off-by: darshanime <deathbullet@gmail.com>

* Normalize zone name before lookup in zones

Signed-off-by: darshanime <deathbullet@gmail.com>

* Update import path for caddy

Signed-off-by: darshanime <deathbullet@gmail.com>

* normalize azure zone name only if required

Signed-off-by: darshanime <deathbullet@gmail.com>

* Add support for MX, SRV, TXT, records

Signed-off-by: darshanime <deathbullet@gmail.com>

* Add specs for new record types

Signed-off-by: darshanime <deathbullet@gmail.com>

* Use sequential updates for zones

Signed-off-by: darshanime <deathbullet@gmail.com>

* Add OWNERS file for azure plugin

Signed-off-by: darshanime <deathbullet@gmail.com>

* Rename imports for third party packages

Signed-off-by: darshanime <deathbullet@gmail.com>

* Capitalize values in README

Signed-off-by: darshanime <deathbullet@gmail.com>

* Shorten keys for azure plugin config

Signed-off-by: darshanime <deathbullet@gmail.com>

* Fixup readme for azure plugin

Signed-off-by: darshanime <deathbullet@gmail.com>
2019-08-09 08:10:28 +01:00
dependabot-preview[bot]
883d47685f build(deps): bump github.com/prometheus/client_golang (#3090)
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.0.0...v1.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-05 07:50:38 -07:00
dependabot-preview[bot]
cdb2c8e765 build(deps): bump github.com/aws/aws-sdk-go from 1.21.6 to 1.21.9 (#3089)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.21.6 to 1.21.9.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.21.6...v1.21.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-05 07:50:21 -07:00
Yong Tang
b8f40a8150 Move github.com/openzipkin/zipkin-go-opentracing => github.com/openzipkin-contrib/zipkin-go-opentracing (#3070)
Move github.com/openzipkin/zipkin-go-opentracing => github.com/openzipkin-contrib/zipkin-go-opentracing
and run `go mod tidy`

Fixes 3069

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-07-31 06:44:56 +00:00
dependabot-preview[bot]
6cea8869cf build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.16.0 to 1.16.1 (#3061)
Bumps [gopkg.in/DataDog/dd-trace-go.v1](https://github.com/DataDog/dd-trace-go) from 1.16.0 to 1.16.1.
- [Release notes](https://github.com/DataDog/dd-trace-go/releases)
- [Commits](https://github.com/DataDog/dd-trace-go/compare/v1.16.0...v1.16.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-29 08:10:42 -07:00
dependabot-preview[bot]
c3516279ed build(deps): bump github.com/aws/aws-sdk-go from 1.21.2 to 1.21.6 (#3060)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.21.2 to 1.21.6.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.21.2...v1.21.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-29 06:55:36 -07:00
dependabot-preview[bot]
f50e1dc912 build(deps): bump google.golang.org/grpc from 1.22.0 to 1.22.1 (#3062)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.22.0 to 1.22.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.22.0...v1.22.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-29 06:55:23 -07:00
Chris O'Haver
4f268ad801 update to client-go 12.0.0 (#3047) 2019-07-25 13:24:12 -07:00
Miek Gieben
89fa9bc61e plugin/host: don't append the names when reparsing hosts file (#3045)
The host plugin kept on adding entries instead of overwriting. Split the
inline cache off from the /etc/hosts file cache and clear /etc/hosts
file cache and re-parsing.

A bunch of other cleanup as well. Use functions defined in the plugin
package, don't re-parse strings if you don't have to and use To4() to
check the family for IP addresses. Fix all test cases a carried entries
are always fqdn-ed. Various smaller cleanup in unnessacry constants.

Fixes: #3014

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-07-25 11:53:07 -07:00
dependabot-preview[bot]
637bd3c7dc build(deps): bump github.com/aws/aws-sdk-go from 1.21.1 to 1.21.2 (#3032)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.21.1 to 1.21.2.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.21.1...v1.21.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-23 07:44:47 -07:00
dependabot-preview[bot]
2153cada45 build(deps): bump github.com/aws/aws-sdk-go from 1.21.0 to 1.21.1 (#3027)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.21.0 to 1.21.1.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.21.0...v1.21.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-22 06:55:41 +00:00
dependabot-preview[bot]
f7b26db9d0 build(deps): bump github.com/aws/aws-sdk-go from 1.20.20 to 1.21.0 (#3022)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.20.20 to 1.21.0.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.20.20...v1.21.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-19 09:19:35 +00:00
dependabot-preview[bot]
527772fc5f build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.15.0 to 1.16.0 (#3018)
Bumps [gopkg.in/DataDog/dd-trace-go.v1](https://github.com/DataDog/dd-trace-go) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/DataDog/dd-trace-go/releases)
- [Commits](https://github.com/DataDog/dd-trace-go/compare/v1.15.0...v1.16.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-18 09:41:09 -07:00
dependabot-preview[bot]
767d399877 build(deps): bump github.com/aws/aws-sdk-go from 1.20.17 to 1.20.20 (#3006)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.20.17 to 1.20.20.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.20.17...v1.20.20)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-16 06:47:01 +00:00
dependabot-preview[bot]
1ee9b534ab build(deps): bump github.com/golang/protobuf from 1.3.1 to 1.3.2 (#2989)
Bumps [github.com/golang/protobuf](https://github.com/golang/protobuf) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/golang/protobuf/releases)
- [Commits](https://github.com/golang/protobuf/compare/v1.3.1...v1.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-11 06:32:57 +00:00
dependabot-preview[bot]
e1ab8a8ce2 build(deps): bump github.com/aws/aws-sdk-go from 1.20.15 to 1.20.17 (#2990)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.20.15 to 1.20.17.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.20.15...v1.20.17)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-11 06:31:03 +00:00
Yong Tang
9b6e2aa5a6 Update github.com/miekg/dns, github.com/aws/aws-sdk-go, and google.golang.org/grpc (#2960)
This fix updates:
- github.com/miekg/dns to 1.15 (#2947)
- github.com/aws/aws-sdk-go to 1.20.13 (#2953)
- google.golang.org/grpc to 1.22.0 (#2966)

This fix fixes #2947
This fix fixes #2953
This fix fixes #2966

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-07-04 07:44:31 +01:00
Yong Tang
f8bba51f84 Update Caddy to 1.0.1, and update import path (#2961)
* Update Caddy to 1.0.1, and update import path

This fix updates caddy to 1.0.1 and also
updates the import path to github.com/caddyserver/caddy

This fix fixes 2959

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Also update plugin.cfg

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Update and bump zplugin.go

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-07-03 09:04:47 +08:00
Yong Tang
123628dc46 Update zipkin, etcd, klog and aws (#2913)
* Update zipkin, etcd, klog and aws

This fix updates:
- github.com/openzipkin/zipkin-go-opentracing
- k8s.io/klog
- github.com/coreos/etcd
- github.com/aws/aws-sdk-go

This fix fixes #2906
This fix fixes #2907
This fix fixes #2908
This fix fixes #2909

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Also updates opentracing

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-06-25 07:49:51 +01:00
Yong Tang
e54b784a7e Update multiple dependencies (#2904)
This fix updates:
- github.com/miekg/dns from 1.1.12 to 1.1.14
- google.golang.org/grpc from 1.21.0 to 1.21.1
- github.com/aws/aws-sdk-go from 1.19.41 to 1.20.3
- github.com/prometheus/common from 0.4.1 to 0.6.0
- gopkg.in/DataDog/dd-trace-go.v1 from 1.14.0 to 1.15.0

This fix fixes #2899
This fix fixes #2900
This fix fixes #2901
This fix fixes #2902
This fix fixes #2903

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-06-20 10:46:16 +01:00
Yong Tang
f13482f4d1 Follow up on PR 2868 (#2877)
This fix is a follow up on comment https://github.com/coredns/coredns/pull/2868#discussion_r291609761

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-06-10 10:02:02 +01:00
Anshul Sharma
74303a985c Fix Datadog tracer (#2868)
- Fixes #2862
2019-06-09 13:44:19 -07:00
Yong Tang
6980345edc Update several dependencies in go mod (#2860)
This fix updates several direct dependencies (grpc, aws, protobuf) in go mod,
and removed duplicates with `go mod tidy`

Note: tracing related dependencies are not touched, as
DataDog/tracing dependencies still give trouble.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-06-03 14:47:10 +01:00
Chris O'Haver
5565ca1c03 kubernetes: bump to client-go 11.0.0 (#2854)
* client-go 11.0.0

* Core moved to CoreV1
2019-05-31 08:01:48 -07:00
Yong Tang
c5f49257be Update dns to v1.1.12, and remove duplicate dependencies (#2845)
This fix:
1. Update dns to v1.1.12
2. Redirect dns v1.1.3 in caddy to v1.1.12 so that there is only one version of dns.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-05-27 15:51:40 +01:00
Yong Tang
543327ae5a Update prometheus library to 0.9.3 (#2844)
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-05-27 10:44:56 +01:00
Michael Grosser
4f7fb98284 Upgrade to Caddy v1 (#2800)
Automatically submitted.
2019-04-27 07:42:35 +00:00
Miek Gieben
a6dbc837b3 upgrade miekg/dns to 1.1.8 (#2774)
Upgrade miekg/dns to 1.1.8

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-04-08 09:58:54 -07:00
Miek Gieben
1e281ad8f0 grpc: go generate (#2712)
*grpc* was added manually; do a go generate to add it, so we don't have
future diffs.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-03-23 18:17:07 +00:00
Iñigo
7b6cb76237 plugin/grpc: New gRPC plugin (#2667)
* plugin/grpc: New gRPC plugin

* some changes after the first review:

- remove healthcheck. gRPC already has this implicitly implemented
- some naming and stetic changes
- fix some comments
- other minor fixes

* plugin/grpc: New gRPC plugin

* some changes after the first review:

- remove healthcheck. gRPC already has this implicitly implemented
- some naming and stetic changes
- fix some comments
- other minor fixes

* add OWNERS file and change plugin order

* remove Rcode checker
2019-03-14 07:12:28 +00:00
Yong Tang
26e4026ec1 Add GO111MODULE=off for go get manifest-tool (#2691)
to fix issue #2689

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-03-13 18:07:54 +00:00
Rajveer Malviya
6a07e6dcd1 modules: run go mod tidy (#2687) 2019-03-13 08:02:59 +00:00
David
e45411fdbd modules: cleanup modules support, fix DataDog/dd-trace-go problem (#2680)
cleanup modules support, fix DataDog/dd-trace-go probem, add go.mod tidyness check.
2019-03-12 12:36:13 -04:00
Miek Gieben
2ffcef1071 Take 3: to get coredns/proxy pulled in (#2677)
* Take 3: to get coredns/proxy pulled in

This is need temporary because it will point to the fake 'deprecated'
plugin anyway.

Signed-off-by: Miek Gieben <miek@miek.nl>

* update proxy again

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-03-12 11:31:46 +00:00
Miek Gieben
91d6451684 plugin/trace: update datadog import (#2676)
Use gopkg.in/DataDog/dd-trace-go.v0 as this is the new home for it

Fixes: #2282

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-03-12 11:01:47 +00:00
Yong Tang
9dd288943a Move *proxy* to external (#2651)
* Move *proxy* to external

move the proxy plugin into coredns/proxy and remove it as a default
plugin. Link the proxy to deprecated in plugin.cfg

coredns/proxy doesn't compile because of the vendoring :(

Signed-off-by: Miek Gieben <miek@miek.nl>

* Add github.com/coredns/proxy

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-03-04 07:32:38 +00:00
Yong Tang
9d39ea51a7 Add go mod support (#2503)
* Remove vendor and go-dep

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Add go.mod

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Update Makefile and .travis.yml

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-03-03 11:56:26 -08:00