Commit Graph

2145 Commits

Author SHA1 Message Date
Miek Gieben
9433da1a67 Add new plugin: traffic
Traffic is a plugin that communicates via the xDS protocol to an Envoy
control plane. Using the data from this control plane it hands out IP
addresses. This allows you (via controlling the data in the control
plane) to drain or send more traffic to specific endpoints.

The plugin itself only acts upon this data; it doesn't do anything fancy
by itself.

Code used here is copied from grpc-go and other places, this is clearly
marked in the source files.

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-01-17 16:48:23 +01:00
Miek Gieben
5f159ca464 gofmt -w -s **/*.go (#3603)
format and remove trailing white space; makes 'make presubmit' pass
again.

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-01-17 10:47:45 -05:00
Miek Gieben
c95faea624 docs: update README and log plugin (#3602)
README: remove the logo thing as we stopped doing that
log: remote the lines about the clock output as that's gone as well and
     discuss the query log vs other logging a bit.

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-01-17 16:16:29 +01:00
Brad P. Crochet
aa8c325d4a Fix HostPortOrFile to support IPv6 addresses with zone (#3527)
1. The HostPortOrFile tests don't have any IPv6 tests. This adds some.
2. The HostPortOrFile breaks if any of the addresses have IPv6 zone
defined. ParseIP does not handle %zone anymore.

Signed-off-by: Brad P. Crochet <brad@redhat.com>
2020-01-16 20:47:39 +01:00
Yong Tang
b7977402d6 Update both DataDog/dd-trace-go and DataDog/datadog-go (#3597)
This is a PR that supersede #3592. In PR #3592
the build failed because DataDog/dd-trace-go and DataDog/datadog-go
have to be updated at the same time. (dependabot failed to detect that).

This PR fixes the error.

This PR closes #3592

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2020-01-15 17:30:27 +01:00
coredns-auto-go-mod-tidy[bot]
8a4f3c3701 auto go mod tidy 2020-01-13 14:41:09 +00:00
dependabot-preview[bot]
d024014251 build(deps): bump github.com/aws/aws-sdk-go from 1.27.0 to 1.28.0 (#3591)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.27.0 to 1.28.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.27.0...v1.28.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 06:39:24 -08:00
Miek Gieben
6f940cb322 Remove replace in go.mod (#3596)
Seems these are absolete now?

/cc @yongtang

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-01-13 06:39:05 -08:00
Miek Gieben
dcff271480 doc: run make -f Makefile.doc (#3595)
Update the docs (mechanical change).

Also run: go generate (no changes, good!)

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-01-13 06:31:42 -08:00
Dominic Yin
81a54faaeb add mips64le to released ARCH (#3589)
Signed-off-by: Dominic Yin <yindongchao@inspur.com>
2020-01-13 07:19:49 +01:00
Miek Gieben
2221b6160c sign: add expiration jitter (#3588)
* add expiration jitter

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

* sign: add expiration jitter

This PR adds a expiration jitter to spread out zone re-signing even
more. The max is 5 extra days added when creating the signer for a
specific zone.

Also make the duration* constants private to clean up the godoc for this
plugin.

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-01-12 04:56:57 -08:00
coredns-auto-go-mod-tidy[bot]
d6669dee80 auto go mod tidy 2020-01-06 10:21:46 +00:00
dependabot-preview[bot]
585b931fee build(deps): bump github.com/miekg/dns from 1.1.26 to 1.1.27 (#3581)
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.26 to 1.1.27.
- [Release notes](https://github.com/miekg/dns/releases)
- [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release)
- [Commits](https://github.com/miekg/dns/compare/v1.1.26...v1.1.27)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-06 18:19:44 +08:00
coredns-auto-go-mod-tidy[bot]
4c4b0859cf auto go mod tidy 2020-01-06 10:00:35 +00:00
dependabot-preview[bot]
8e159bb273 build(deps): bump github.com/aws/aws-sdk-go from 1.26.8 to 1.27.0 (#3582)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.26.8 to 1.27.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.26.8...v1.27.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-06 17:58:57 +08:00
Zheng Xie
f81f28d97b plugin/cache: update comment to conform to the implementation (#3573)
Signed-off-by: zheng xie <xiez1989@gmail.com>
2020-01-03 14:26:53 +01:00
Jonathan Nagy
e3266d24f7 Resolve TXT records via CNAME (#3557)
* Add test case for TXT lookup via CNAME

Signed-off-by: Jonathan Nagy <nagytech@users.noreply.github.com>

* Return HostType of explicit TXT records

Signed-off-by: Jonathan Nagy <nagytech@users.noreply.github.com>

* Adapt TXT method lookup to allow lookup via CNAME

Signed-off-by: Jonathan Nagy <nagytech@users.noreply.github.com>

* Implement lookup of TXT records via CNAME

Signed-off-by: Jonathan Nagy <nagytech@users.noreply.github.com>
2020-01-03 14:16:04 +01:00
Zou Nengren
acac649c1b update gitignore (#3506)
Signed-off-by: zouyee <zounengren@cmss.chinamobile.com>
2020-01-03 14:15:07 +01:00
Zou Nengren
99e7c3dee7 registry cache_miss logic (#3578)
Signed-off-by: zouyee <zounyee1989@gmail.com>
2020-01-03 10:06:37 +01:00
coredns-auto-go-mod-tidy[bot]
908508a9bd auto go mod tidy 2019-12-30 12:12:08 +00:00
dependabot-preview[bot]
b233207f15 build(deps): bump github.com/aws/aws-sdk-go from 1.26.7 to 1.26.8 (#3574)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.26.7 to 1.26.8.
- [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.26.7...v1.26.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-30 13:10:06 +01:00
Miek Gieben
fc546cf129 doc: fix generated manual pages (#3571)
Went over all generated manual pages and fixed some markdown issues,
mostly escaping "_" to avoid underlining entire paragraphs.

Some textual fixes in route53 and other cloud DNS plugins.

Regenerated the markdown with mmark.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-12-29 13:35:17 +01:00
coredns-auto-go-mod-tidy[bot]
92e0086c19 auto go mod tidy 2019-12-23 14:12:39 +00:00
dependabot-preview[bot]
971d731d7a build(deps): bump google.golang.org/grpc from 1.25.1 to 1.26.0 (#3564)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.25.1 to 1.26.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.25.1...v1.26.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-23 22:10:43 +08:00
coredns-auto-go-mod-tidy[bot]
ee1e489e96 auto go mod tidy 2019-12-23 08:32:08 +00:00
dependabot-preview[bot]
4da830b7a1 build(deps): bump github.com/aws/aws-sdk-go from 1.26.2 to 1.26.7 (#3566)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.26.2 to 1.26.7.
- [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.26.2...v1.26.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-23 16:30:16 +08:00
coredns-auto-go-mod-tidy[bot]
ca43254510 auto go mod tidy 2019-12-23 08:29:45 +00:00
dependabot-preview[bot]
4cee6ece77 build(deps): bump google.golang.org/api from 0.14.0 to 0.15.0 (#3565)
Bumps [google.golang.org/api](https://github.com/google/google-api-go-client) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/google/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/master/CHANGES.md)
- [Commits](https://github.com/google/google-api-go-client/compare/v0.14.0...v0.15.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-23 16:27:49 +08:00
coredns-auto-go-mod-tidy[bot]
78eb7b3caa auto go mod tidy 2019-12-23 08:24:37 +00:00
dependabot-preview[bot]
5ce4a01773 build(deps): bump github.com/miekg/dns from 1.1.25 to 1.1.26 (#3562)
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.25 to 1.1.26.
- [Release notes](https://github.com/miekg/dns/releases)
- [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release)
- [Commits](https://github.com/miekg/dns/compare/v1.1.25...v1.1.26)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-23 16:22:44 +08:00
coredns-auto-go-mod-tidy[bot]
7a4c9970d9 auto go mod tidy 2019-12-23 08:10:37 +00:00
dependabot-preview[bot]
63c736ef07 build(deps): bump github.com/prometheus/client_golang (#3563)
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.2.1 to 1.3.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.2.1...v1.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-23 16:08:35 +08:00
Kohei Yoshida
e04128c32b fix missing links (#3560)
Signed-off-by: ykhr53 <ykhr53@yokohei.com>
2019-12-20 11:31:16 +00:00
Miek Gieben
fb05c440f5 Small tweaks to the notes (#3558)
made these to the coredns.io repo as well, but this is canonical.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-12-20 11:02:24 +00:00
Antonio Ojea
e1cf9ccdab Bump kubernetes plugin schema version (#3554)
The Kubernetes DNS specification schema version was
updated to 1.1.0 in order to support IPv6

Signed-off-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2019-12-19 09:34:03 -05:00
coredns-auto-go-mod-tidy[bot]
d5ab0a781d auto go mod tidy 2019-12-18 13:33:59 +00:00
Zou Nengren
dded126317 bump k8s releated library (#3552)
Signed-off-by: zouyee <zounengren@cmss.chinamobile.com>
2019-12-18 05:32:00 -08:00
coredns-auto-go-mod-tidy[bot]
4f624ea96b auto go mod tidy 2019-12-17 16:57:57 +00:00
dependabot-preview[bot]
4b4288d8d8 build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#3543)
Bumps [github.com/Azure/go-autorest/autorest/azure/auth](https://github.com/Azure/go-autorest) from 0.4.1 to 0.4.2.
- [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/azure/auth/v0.4.1...autorest/azure/auth/v0.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-17 08:56:26 -08:00
dependabot-preview[bot]
881779597b build(deps): bump github.com/aws/aws-sdk-go from 1.25.48 to 1.26.2 (#3544)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.25.48 to 1.26.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.25.48...v1.26.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-17 08:56:06 -08:00
Zou Nengren
5e04c27238 Dedup policy implement between grpc and proxy plugin (#3537)
Signed-off-by: zouyee <zounengren@cmss.chinamobile.com>
2019-12-17 08:15:31 +00:00
DrmagicE
acb75ea904 Update builtin corefile example (#3539)
Automatically submitted.
2019-12-14 12:57:33 +00:00
Miek Gieben
c95e7f233a update to latest bot version (#3535)
Loose the colon from the commands to release a new coredns version.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-12-12 15:57:07 +00:00
Kohei Yoshida
6a7a75e0cc fixed typo (#3532)
Signed-off-by: ykhr53 <yukihira.lab@gmail.com>
v1.6.6
2019-12-11 11:16:53 -08:00
Yong Tang
66f1659d09 Add release note for v1.6.6 (#3531)
* Add release note for v1.6.6

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

* Update release note to cover review comments

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-12-11 08:55:08 -08:00
Yong Tang
fdb3cff87c Regenerate man-page (#3530)
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-12-11 06:49:38 -08:00
Yong Tang
2e7dbfdcf0 Update github.com/miekg/dns to v1.1.25 (#3529)
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-12-11 06:29:37 -08:00
Yong Tang
5c5f18c50c Bump version to 1.6.6 (#3520)
For release tracking 3519

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-12-11 06:05:44 -08:00
coredns-auto-go-mod-tidy[bot]
acea8f535f auto go mod tidy 2019-12-09 14:38:38 +00:00
dependabot-preview[bot]
864a108ed0 build(deps): bump github.com/Azure/go-autorest/autorest (#3524)
Bumps [github.com/Azure/go-autorest/autorest](https://github.com/Azure/go-autorest) from 0.9.2 to 0.9.3.
- [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.9.2...autorest/v0.9.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-09 06:36:45 -08:00