Commit Graph

2185 Commits

Author SHA1 Message Date
Andy Bursavich
1da96807ec plugin/template: fix panic when missing next handler (#3672)
Signed-off-by: Andy Bursavich <abursavich@gmail.com>
2020-02-15 22:11:19 +01:00
coredns-auto-go-mod-tidy[bot]
e148948ca9 auto go mod tidy 2020-02-10 17:51:42 +00:00
dependabot-preview[bot]
e785f50468 build(deps): bump github.com/Azure/go-autorest/autorest (#3666)
Bumps [github.com/Azure/go-autorest/autorest](https://github.com/Azure/go-autorest) from 0.9.4 to 0.9.5.
- [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.4...autorest/v0.9.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-10 09:49:45 -08:00
coredns-auto-go-mod-tidy[bot]
9bca3bdcfe auto go mod tidy 2020-02-10 10:45:08 +00:00
dependabot-preview[bot]
3dde008372 build(deps): bump github.com/aws/aws-sdk-go from 1.28.9 to 1.28.13 (#3667)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.28.9 to 1.28.13.
- [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.28.9...v1.28.13)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-10 11:43:21 +01:00
dependabot-preview[bot]
3db023c0af build(deps): bump github.com/prometheus/client_golang (#3665)
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.4.0 to 1.4.1.
- [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.4.0...v1.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-10 11:42:34 +01:00
Miek Gieben
c4fc5cb54a plugin/pkg/up: make default intervals shorter (#3651)
* plugin/pkg/up: make default intervals shorter

I think 15 min is too high, make this lower to react faster.

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

* Update README

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-02-06 19:28:53 +01:00
Chris O'Haver
1818df0d06 Update README.md (#3655) 2020-02-05 10:19:04 -05:00
Ricky S
efbe4ac5e8 Add exponential backoff to healthcheck (#3643)
Move exponential backoff initialization to Start()

Signed-off-by: RickyRajinder <singh.sangh@gmail.com>

Move comment

Increase max interval and update README

Remove trailing whitespace

Change Start() param name back to interval
2020-02-04 14:19:48 +01:00
Chris O'Haver
22cd28a798 plugins/forward: Add max_concurrent option (#3640)
* count and limit concurrent queries

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* add option

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* return servfail when limit exceeded

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* docs

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* docs

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* docs

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* review feedback

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* move atomic counter to beginning of struct

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* add comment for ErrLimitExceeded

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* rename option to max_concurrent

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* add metric

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* response REFUSED; incl max in error; add more docs

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* avoid err setup race

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* respond SERVFAIL; doc memory usage

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2020-02-04 13:59:08 +01:00
coredns-auto-go-mod-tidy[bot]
8724a134c4 auto go mod tidy 2020-02-03 15:57:33 +00:00
dependabot-preview[bot]
fe1231fb1b build(deps): bump github.com/prometheus/client_golang (#3647)
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.3.0 to 1.4.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.3.0...v1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-03 07:55:42 -08:00
dependabot-preview[bot]
64da7a535a build(deps): bump github.com/golang/protobuf from 1.3.2 to 1.3.3 (#3646)
Bumps [github.com/golang/protobuf](https://github.com/golang/protobuf) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/golang/protobuf/releases)
- [Commits](https://github.com/golang/protobuf/compare/v1.3.2...v1.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-03 07:55:31 -08:00
Chris O'Haver
c9d567ab44 plugin/kubernetes: fix metadata (#3642)
Automatically submitted.
2020-01-31 19:35:22 +00:00
Miek Gieben
f77c6e55bf presubmit: test README.md sections (#3644)
Automatically submitted.
2020-01-31 11:37:24 +00:00
Sylvain Rabot
510f2c503d presubmit: improve output (#3641)
* presubmit: buffer errors to display them all at once

Signed-off-by: Sylvain Rabot <s.rabot@lectra.com>

* presubmit: make path absolute so they can be clickable in shells

Signed-off-by: Sylvain Rabot <s.rabot@lectra.com>

* presubmit: remove useless return

Signed-off-by: Sylvain Rabot <s.rabot@lectra.com>

* presubmit: fix error message

Signed-off-by: Sylvain Rabot <s.rabot@lectra.com>

* presubmit: annotate Scanner error with concerned file path

Signed-off-by: Sylvain Rabot <s.rabot@lectra.com>
2020-01-30 12:06:58 +00:00
Miek Gieben
995179a6c6 presubmit: check import path ordering (#3636)
Add a test for this as well as it's annoying to point out in every code
review.
Fix all the import paths that are flagged by this new test.

Fixes: #3634

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-01-30 09:19:26 +00:00
Chris O'Haver
488464b686 fix error formatting (#3639)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2020-01-29 11:52:35 -05:00
Miek Gieben
da7f65b3a8 make -f Makefile.doc (#3633)
Preparing a release; don't want to end up with a dirty repo again.

Signed-off-by: Miek Gieben <miek@miek.nl>
v1.6.7
2020-01-28 19:11:57 +00:00
Miek Gieben
b18b94b54e Update date on notes (#3632)
Signed-off-by: Miek Gieben <miek@miek.nl>
2020-01-28 19:09:34 +00:00
Miek Gieben
f66c2bac25 Remove all shell presubmits (#3631)
This ports the shell presubmit to Go and makes them better; esp the
Errorf/Logf/Fatalf one because it actually parses the code and works of
the AST.

These error will now show up in the travis/circle CI runs where they
belong.

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-01-28 19:07:11 +00:00
Miek Gieben
40d0fd8598 presubmit tests (#3630)
* presubmit tests

Rename the test file to presubmit_test.go
Remove println from previous merge.
Add filename hyphen check
Remove the shell presubmit file that did this before

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

* remove

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-01-28 15:47:28 +00:00
Miek Gieben
04292f1375 presubmit: add whitespace test in go (#3629)
Automatically submitted.
2020-01-28 11:13:11 +00:00
coredns-auto-go-mod-tidy[bot]
7ebc8ff5fe auto go mod tidy 2020-01-27 17:44:15 +00:00
dependabot-preview[bot]
61c8e9c9b3 build(deps): bump k8s.io/client-go from 0.17.1 to 0.17.2 (#3621)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.17.1 to 0.17.2.
- [Release notes](https://github.com/kubernetes/client-go/releases)
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.17.1...v0.17.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-27 18:42:19 +01:00
coredns-auto-go-mod-tidy[bot]
447bcd99e0 auto go mod tidy 2020-01-27 16:53:05 +00:00
dependabot-preview[bot]
6e2fd0ca73 build(deps): bump github.com/aws/aws-sdk-go from 1.28.5 to 1.28.9 (#3625)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.28.5 to 1.28.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.28.5...v1.28.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-27 08:51:10 -08:00
dependabot-preview[bot]
11911bb8cc build(deps): bump github.com/prometheus/common from 0.7.0 to 0.9.1 (#3622)
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.7.0 to 0.9.1.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.7.0...v0.9.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-27 08:50:52 -08:00
Michael Grosser
dd58f046de Use latest Github checkout action (#3627)
Signed-off-by: Michael Grosser <development@stp-ip.net>
2020-01-27 08:50:29 -08:00
Miek Gieben
672ce6d04e Fix acl page (#3626)
* Fix acl page

It must have a Name section.

Fixes: https://github.com/coredns/coredns.io/issues/177

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

* generate

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-01-27 16:47:42 +01:00
Miek Gieben
e8f94d28c1 Update client-go to 0.17.1 (#3616)
See: https://twitter.com/ibuildthecloud/status/1220522575568105472

0.17.0 has some kind of ratelimiting bug.

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-01-24 08:14:34 +01:00
Miek Gieben
ff981b1d69 Prepare release: (#3614)
* run Makefile.doc to update to the latest
* add prs and authors to Makefile.release to aid in creating release
  notes. And update the comments in the makefile.
* add 1.6.7 release notes.

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-01-23 07:06:52 -08:00
coredns-auto-go-mod-tidy[bot]
166ea10780 auto go mod tidy 2020-01-20 15:33:24 +00:00
dependabot-preview[bot]
042ee3f562 build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.20.0 to 1.20.1 (#3612)
Bumps [gopkg.in/DataDog/dd-trace-go.v1](https://github.com/DataDog/dd-trace-go) from 1.20.0 to 1.20.1.
- [Release notes](https://github.com/DataDog/dd-trace-go/releases)
- [Commits](https://github.com/DataDog/dd-trace-go/compare/v1.20.0...v1.20.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 16:31:15 +01:00
coredns-auto-go-mod-tidy[bot]
0d3134b672 auto go mod tidy 2020-01-20 08:26:01 +00:00
dependabot-preview[bot]
7279777ded build(deps): bump k8s.io/apimachinery from 0.17.0 to 0.17.1 (#3609)
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) from 0.17.0 to 0.17.1.
- [Release notes](https://github.com/kubernetes/apimachinery/releases)
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.17.0...v0.17.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 09:24:11 +01:00
dependabot-preview[bot]
e2617f0bfe build(deps): bump github.com/Azure/go-autorest/autorest (#3608)
Bumps [github.com/Azure/go-autorest/autorest](https://github.com/Azure/go-autorest) from 0.9.3 to 0.9.4.
- [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.3...autorest/v0.9.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 09:24:01 +01:00
dependabot-preview[bot]
72ec2c9251 build(deps): bump github.com/prometheus/client_model from 0.1.0 to 0.2.0 (#3607)
Bumps [github.com/prometheus/client_model](https://github.com/prometheus/client_model) from 0.1.0 to 0.2.0.
- [Release notes](https://github.com/prometheus/client_model/releases)
- [Commits](https://github.com/prometheus/client_model/compare/v0.1.0...v0.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 09:23:49 +01:00
dependabot-preview[bot]
74fbea3190 build(deps): bump github.com/aws/aws-sdk-go from 1.28.0 to 1.28.5 (#3606)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.28.0 to 1.28.5.
- [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.28.0...v1.28.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 09:23:32 +01:00
Dominic Yin
65218e8fb3 Bump version to 1.6.7 (#3594)
Signed-off-by: Dominic Yin <yindongchao@inspur.com>
2020-01-18 12:27:07 -08:00
Erfan Besharat
baaa834dc1 plugin/acl: document metrics in README (#3605)
Signed-off-by: Erfan Besharat <erbesharat@gmail.com>
2020-01-18 16:46:57 +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