Miek Gieben
d18f4c9e51
mechanical changes ( #3481 )
...
* make -f Makefile.doc
* go mod tidy
* go generate
trying to prevent another dirty build/release.
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-11-24 18:42:59 +00:00
Zou Nengren
768ca99c57
Fix reloading in health and ready ( #3473 )
...
Signed-off-by: zouyee <zounengren@cmss.chinamobile.com>
2019-11-20 12:14:37 +00:00
Chris O'Haver
65cae54ddf
Update plugin.md ( #3469 )
2019-11-18 16:10:25 +00:00
dependabot-preview[bot]
54bd9bb0ac
build(deps): bump google.golang.org/api from 0.13.0 to 0.14.0 ( #3462 )
...
Bumps [google.golang.org/api](https://github.com/google/google-api-go-client ) from 0.13.0 to 0.14.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.13.0...v0.14.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-18 06:57:23 -08:00
dependabot-preview[bot]
352266e64b
build(deps): bump github.com/caddyserver/caddy from 1.0.3 to 1.0.4 ( #3461 )
...
Bumps [github.com/caddyserver/caddy](https://github.com/caddyserver/caddy ) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/caddyserver/caddy/releases )
- [Commits](https://github.com/caddyserver/caddy/compare/v1.0.3...v1.0.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-18 12:28:13 +00:00
dependabot-preview[bot]
fe24096c57
build(deps): bump github.com/aws/aws-sdk-go from 1.25.31 to 1.25.36 ( #3463 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.25.31 to 1.25.36.
- [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.31...v1.25.36 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-18 12:25:43 +01:00
Gonzalo Paniagua Javier
f91c55d6cd
Fix reloading in plugin/pprof. ( #3454 )
...
* Fix reloading in plugin/pprof.
Reloading the server without changing the listen address results in an
error because Startup is called for newly set up plugins before Shutdown
is called for the old ones.
Signed-off-by: Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
* Use pkg/reuseport when listening.
Use coredns' newly added reuseport.
Signed-off-by: Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
* Revert go.{mod,sum} changes.
Signed-off-by: Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
2019-11-18 07:58:00 +00:00
Yong Tang
f100d61183
Fix incorrect sample configuration in clouddns ( #3457 )
...
Automatically submitted.
2019-11-17 18:53:10 +00:00
Miek Gieben
e14e053d3d
create pkg/reuseport ( #3455 )
...
* create pkg/reuseport
Move the core server listening functions to a new package so plugins can
use them.
Also make *all* servers use the functions here; as only the udp/tcp
listeners where using SO_REUSEPORT (if available). This is the only
actual change in this PR; in it's core it's just a move of 2 files.
This can also be used to cleanup the dance we're doing now for
re-acquiring the sockets in e.g. the metrics plugins and the ready
plugin.
Signed-off-by: Miek Gieben <miek@miek.nl>
* Also push a small doc update
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-11-16 18:02:46 -08:00
Miek Gieben
4831e7f947
bufsize: go gen and docs ( #3449 )
...
Run 'go generate' and 'make -f Makefile.doc' to generate the chaos
plugin author list and update the manual pages.
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-11-15 07:45:09 -08:00
Miek Gieben
1e3330c12b
pkg/fall: add (a lot of) guidance ( #3450 )
...
update the pkg doc to talk about various trade off
Fixes #2723
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-11-15 09:14:29 -05:00
Miek Gieben
e1782c46e8
build: go mod tidy ( #3451 )
...
tidy up a bit; go build also made changs to go.mod, meaning this would
have been (again) a dirty release.
Need some better automation for this crap.
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-11-15 09:11:21 -05:00
Chris O'Haver
672992751e
plugin/bufsize: remove trailing whitespace ( #3444 )
2019-11-14 16:13:49 +00:00
Kohei Yoshida
8cc034eece
plugin/bufsize: add usecase description ( #3437 )
...
* add usecase
Signed-off-by: yukihira <yukihira.lab@gmail.com>
* fix some comments
Signed-off-by: ykhr53 <yukihira.lab@gmail.com>
2019-11-14 07:37:45 +00:00
Kohei Yoshida
1743ca3f02
add OWNERS file ( #3441 )
...
Signed-off-by: yukihira <yukihira.lab@gmail.com>
2019-11-13 09:49:24 +00:00
dependabot-preview[bot]
032a4d9e52
build(deps): bump google.golang.org/grpc from 1.24.0 to 1.25.1 ( #3439 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.24.0 to 1.25.1.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.24.0...v1.25.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-12 06:59:19 -08:00
dependabot-preview[bot]
591942a99c
build(deps): bump github.com/aws/aws-sdk-go from 1.25.25 to 1.25.31 ( #3438 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.25.25 to 1.25.31.
- [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.25...v1.25.31 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-12 06:59:01 -08:00
Kohei Yoshida
e23a34abb4
Add bufsize plugin for preparing the DNS Flag Day and avoiding IP fragmentation ( #3401 )
...
* add bufsize plugin
Signed-off-by: ykhr53 <yukihira.lab@gmail.com>
* add docstring and comment
Signed-off-by: ykhr53 <yukihira.lab@gmail.com>
* delete stdout messages when get an error
Signed-off-by: ykhr53 <yukihira.lab@gmail.com>
* change to context.Background from TODO
Signed-off-by: ykhr53 <yukihira.lab@gmail.com>
* define default bufsize as defaultBufSize constant
Signed-off-by: ykhr53 <yukihira.lab@gmail.com>
* fix some comments
Signed-off-by: ykhr53 <yukihira.lab@gmail.com>
* function name change: parse
Signed-off-by: ykhr53 <yukihira.lab@gmail.com>
* function name change: parse
Signed-off-by: ykhr53 <yukihira.lab@gmail.com>
2019-11-10 08:10:12 +00:00
Guangming Wang
113783ed91
Call wg.Add in main goroutine to avoid race conditons. ( #3433 )
...
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
2019-11-07 15:29:50 +00:00
Miciah Dashiel Butler Masters
1942746c48
plugin/reload: Fix "durations" documentation link ( #3431 )
...
* plugin/reload/README.md: Fix the syntax of the link to the Go
documentation for duration values.
Signed-off-by: Miciah Dashiel Butler Masters <mmasters@redhat.com>
2019-11-06 13:27:55 -08:00
dependabot-preview[bot]
21fe65ed8d
build(deps): bump github.com/aws/aws-sdk-go from 1.25.19 to 1.25.25 ( #3429 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.25.19 to 1.25.25.
- [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.19...v1.25.25 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-06 08:42:33 -08:00
Miek Gieben
5ecd4ec57a
transfer: small doc update ( #3426 )
...
Tweak the README a little. Name and spell out axfr/ixfr.
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-11-05 10:57:22 -05:00
Miek Gieben
c2fd1b2467
dump version to 1.6.5 ( #3425 )
...
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-11-05 13:46:54 +00:00
Miek Gieben
a214161bc3
Update the notes for the 1.6.5 release. ( #3424 )
...
* Update the notes for the 1.6.5 release.
Signed-off-by: Miek Gieben <miek@miek.nl>
* manpages: regenerate
Signed-off-by: Miek Gieben <miek@miek.nl>
* Fix date
Signed-off-by: Miek Gieben <miek@miek.nl>
* Go gen/go build
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-11-05 11:18:02 +00:00
dependabot-preview[bot]
86680793dc
build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.18.0 to 1.19.0 ( #3418 )
...
Bumps [gopkg.in/DataDog/dd-trace-go.v1](https://github.com/DataDog/dd-trace-go ) from 1.18.0 to 1.19.0.
- [Release notes](https://github.com/DataDog/dd-trace-go/releases )
- [Commits](https://github.com/DataDog/dd-trace-go/compare/v1.18.0...v1.19.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-04 06:09:15 -08:00
dependabot-preview[bot]
655e959685
build(deps): bump google.golang.org/api from 0.11.0 to 0.13.0 ( #3416 )
...
Bumps [google.golang.org/api](https://github.com/google/google-api-go-client ) from 0.11.0 to 0.13.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.11.0...v0.13.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-04 05:48:34 -08:00
Chris O'Haver
a7ab592e78
plugin/transfer: Zone transfer plugin ( #3223 )
...
* transfer plugin
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2019-11-01 12:02:43 -04:00
Yong Tang
5d8bda58a9
Update Project Lead's term ( #3338 )
...
Base on the [GOVERNANCE.md] of CoreDNS, we will need to update project lead's term:
1) Any PR should only be opened no earlier than 6 weeks before the end of current lead's term
2) PR can only be merged after it has been opened for 4 weeks.
3) See [GOVERNANCE.md] for more details on how votes are counted.
Since it is less than 6 weeks before 11/11/2019, this PR:
1) propose to extend project lead's term from 11/11/2019 to 11/11/2020.
2) will keep open until at least to 10/29/2019 (4 weeks), so that community has a chance to voice opinions
Please specify +1/-1 for agree/disagree.
Note: Alternative PRs could be opened concurrently, as long as it following the rules specified in [GOVERNANCE.md].
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-10-30 21:04:07 -07:00
Euan Kemp
431c70e8b9
Correct some if/iff mixups ( #3406 )
...
This is a fixup for https://github.com/coredns/coredns/pull/3310 which
replaced some 'iff's with 'if' under the assumption they were typos.
I'm fairly confident they were "If and only if"
(https://en.wikipedia.org/wiki/If_and_only_if ), which is commonly
shortened as "iff".
I've updated them to the full length 'if, and only if' for the sake of
readability.
Signed-off-by: Euan Kemp <euan@ngrok.com>
2019-10-29 09:38:56 -04:00
Dan Panzarella
1821d9cb7e
small typo in autopath README so->to ( #3408 )
...
Automatically submitted.
2019-10-28 19:17:54 +00:00
dependabot-preview[bot]
eca2385bdd
build(deps): bump github.com/aws/aws-sdk-go from 1.25.16 to 1.25.19 ( #3407 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.25.16 to 1.25.19.
- [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.16...v1.25.19 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-28 07:16:50 -07:00
dependabot-preview[bot]
dfcb4edbe9
build(deps): bump github.com/prometheus/client_golang ( #3390 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.1.0 to 1.2.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.1.0...v1.2.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-21 16:46:41 -07:00
dependabot-preview[bot]
9c59b0e02a
build(deps): bump github.com/aws/aws-sdk-go from 1.25.11 to 1.25.16 ( #3389 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.25.11 to 1.25.16.
- [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.11...v1.25.16 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-21 16:46:28 -07:00
Chris O'Haver
6f375cbbda
add MustNormalize ( #3385 )
...
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2019-10-19 08:08:14 +01:00
Miek Gieben
5f114d38ca
pkg/log: add Clear to stop debug logging ( #3372 )
...
When reloading we need to disable debug output when the debug plugin is
removed from the config file. Add a `Clear` function to pkg/log and use
it in the server server.
Add test case in pkg/log, for actuall check I manually checked the
output by sprinkling some debug statements in the startup and checking
with sending SIGUSR1.
Also clear up the comments in pkg/log to remove the text about time
stamping.
Fixes : #3035
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-10-17 15:53:11 +01:00
Anshul Sharma
c187d8fa01
Issue-3374 ( #3383 )
...
- Remove logo
Signed-off-by: Anshul Sharma <sharmaanshul2102@gmail.com>
2019-10-17 15:36:35 +01:00
Sean Liao
9ccc736f68
plugin/dnssec, plugin/sign: ed25519 support ( #3380 )
...
* add ed25519 dnskey support
Signed-off-by: Sean Liao <seankhliao@gmail.com>
* fix ed25519 type assertion
Signed-off-by: Sean Liao <seankhliao@gmail.com>
* clean up whitespace
Signed-off-by: Sean Liao <seankhliao@gmail.com>
2019-10-16 07:32:11 +01:00
dependabot-preview[bot]
34ffe2a0a5
build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth ( #3376 )
...
Bumps [github.com/Azure/go-autorest/autorest/azure/auth](https://github.com/Azure/go-autorest ) from 0.3.0 to 0.4.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/tracing/v0.3.0...tracing/v0.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-15 01:13:00 +09:00
dependabot-preview[bot]
0c03290c79
build(deps): bump google.golang.org/api from 0.10.0 to 0.11.0 ( #3377 )
...
Bumps [google.golang.org/api](https://github.com/google/google-api-go-client ) from 0.10.0 to 0.11.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.10.0...v0.11.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-15 00:52:39 +09:00
dependabot-preview[bot]
dc02c20d39
build(deps): bump github.com/aws/aws-sdk-go from 1.25.1 to 1.25.11 ( #3378 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.25.1 to 1.25.11.
- [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.1...v1.25.11 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-15 00:51:33 +09:00
dependabot-preview[bot]
70d3d94585
build(deps): bump github.com/Azure/go-autorest/autorest ( #3375 )
...
Bumps [github.com/Azure/go-autorest/autorest](https://github.com/Azure/go-autorest ) from 0.9.1 to 0.9.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/v0.9.1...autorest/v0.9.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-15 00:47:57 +09:00
Miek Gieben
62f7e0784f
Add release notes for 1.6.5 ( #3373 )
...
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-10-14 01:37:24 +09:00
Miek Gieben
1820c71f28
Run makefile.doc ( #3365 )
...
Generate manual pages; no other changes.
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-10-10 07:45:28 +01:00
yuxiaobo96
bf356e79fc
fix spelling mistakes ( #3364 )
...
Automatically submitted.
2019-10-09 07:24:18 +00:00
Miek Gieben
65458b2de2
Directive -> plugin ( #3363 )
...
Caught my eye, we name things directive still, esp when talking about
the prometheus *plugin*. Rename everything that needs to be plugin to
'plugin'. Also make sure Metrics is a H2 section (not H1).
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-10-08 10:20:48 +01:00
Miek Gieben
ffe6225ff6
kubernetes: brush up README, rename metric ( #3360 )
...
Other latency metrics have `_duration` in the name change this metric
to be in sync with the other ones.
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-10-07 08:38:46 -07:00
Miek Gieben
f1415e8573
circle CI: run with latest Go ( #3358 )
...
* circle CI: run with latest Go
We compile coredns with latest Go on each release, do this same in
Circle-ci
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-10-05 10:48:51 +01:00
Miek Gieben
62d6002323
upgrade etcd remove pin ( #3359 )
...
This upgrade etcd to v3.4.1:
go get go.etcd.io/etcd@a14579fbfb
this is the commit latest on the release page.
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-10-05 16:51:34 +09:00
Miek Gieben
ea54bc0ad5
Upgrade to miekg/dns 1.1.22 ( #3356 )
...
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-10-05 08:58:03 +09:00
janluk
d7cdb992b4
Measure and expose DNS programming latency from Kubernetes plugin. ( #3171 )
...
For now metric is measure only for headless services. Informer has been slighlty
refactored, so the code can measure latency without storing extra fields on
Endpoint struct.
Signed-off-by: Janek Łukaszewicz <janluk@google.com>
Suggestions from code review
Co-Authored-By: Chris O'Haver <cohaver@infoblox.com>
2019-10-04 16:48:43 +01:00