Commit graph

840 commits

Author SHA1 Message Date
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
99c3d065bc plugin/chaos: add default list of authors (#2737)
* plugin/chaos: add default list of authors

Add a owners_generate.go that generates a Owners variables for use in
the chaos plugin.

Add a default list of authors in the authors.bind CH zone. When doing a
query this now returns:

~~~ sh
% dig authors.bind TXT CH

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5456
;; flags: qr rd; QUERY: 1, ANSWER: 22, AUTHORITY: 0, ADDITIONAL: 1
;; WARNING: recursion requested but not available

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;authors.bind.			CH	TXT

;; ANSWER SECTION:
authors.bind.		0	CH	TXT	"bradbeam"
authors.bind.		0	CH	TXT	"chrisohaver"
authors.bind.		0	CH	TXT	"dilyevsky"
authors.bind.		0	CH	TXT	"ekleiner"
authors.bind.		0	CH	TXT	"fastest963"
authors.bind.		0	CH	TXT	"fturib"
authors.bind.		0	CH	TXT	"greenpau"
authors.bind.		0	CH	TXT	"grobie"
authors.bind.		0	CH	TXT	"inigohu"
authors.bind.		0	CH	TXT	"isolus"
authors.bind.		0	CH	TXT	"johnbelamaric"
authors.bind.		0	CH	TXT	"miekg"
authors.bind.		0	CH	TXT	"nchrisdk"
authors.bind.		0	CH	TXT	"nitisht"
authors.bind.		0	CH	TXT	"pmoroney"
authors.bind.		0	CH	TXT	"rajansandeep"
authors.bind.		0	CH	TXT	"rdrozhdzh"
authors.bind.		0	CH	TXT	"rtreffer"
authors.bind.		0	CH	TXT	"stp-ip"
authors.bind.		0	CH	TXT	"superq"
authors.bind.		0	CH	TXT	"varyoo"
authors.bind.		0	CH	TXT	"yongtang"
~~~

This was hard to do previously as we didn't hardcode this in the source,
but now with OWNERS files we can just generate this list.

Privacy wise this isn't worse than being listed in OWNERS file in the
first place. And it's a nice hat tip to the people making CoreDNS
better.

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

* Sticklet bot comments

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-03-31 11:01:11 -07: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
Miek Gieben
b67e4c47c2 Move to miekg/dns 1.1.6 (#2666)
Some more udp/tcp fixes/cleanups have been merged. Run through our gamut
of tests.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-03-11 09:17:27 -07:00
Miek Gieben
f7d34991c1 miekg/dns to version 1.1.5 (#2662)
This version reverts the worker model that's causes cpu overloads.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-03-09 10:13:38 -08: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