Commit graph

2103 commits

Author SHA1 Message Date
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>
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
coredns-auto-go-mod-tidy[bot]
d708ca0f4d auto go mod tidy 2019-12-09 14:08:43 +00:00
dependabot-preview[bot]
ea97a3b22a build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#3523)
Bumps [github.com/Azure/go-autorest/autorest/azure/auth](https://github.com/Azure/go-autorest) from 0.4.0 to 0.4.1.
- [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.4.0...autorest/azure/auth/v0.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-09 06:07:01 -08:00
coredns-auto-go-mod-tidy[bot]
9cd287c191 auto go mod tidy 2019-12-09 14:06:00 +00:00
dependabot-preview[bot]
6a0403d88b build(deps): bump github.com/aws/aws-sdk-go from 1.25.43 to 1.25.48 (#3526)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.25.43 to 1.25.48.
- [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.43...v1.25.48)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-09 06:04:15 -08:00
Yong Tang
6cf1c086ac Update auto go mod tidy workflow to remove user association (#3517)
This PR updates go.tidy.yml, and use pseudo name
`coredns-auto-go-mod-tidy[bot]`, so that the commit
is not associated with real user. Otherwise
the commit history could be confusing.

This is similar to what `dependabot[bot]` is doing
for commits generated by bots.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-12-07 23:45:27 +00:00
yongtang
a2481250e0 auto go tidy 2019-12-07 20:05:52 +00:00
Yong Tang
5cc30319d2 Upate
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-12-07 20:02:51 +00:00
miekg
35953235cf auto go tidy 2019-12-07 15:51:27 +00:00
Yong Tang
0a6100048d Setup GitHub Workflow for auto go tidy (#3512)
Setup GitHub Workflow for auto `go tidy`, when
- 'go.mod'
- 'go.sum'
- '.github/workflows/go.tidy.yml'
has been touched.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-12-07 15:49:38 +00:00
Yong Tang
a34d564c07 Remove trailing whitespace as otherwise make check fails (#3515)
This PR removes trailing whitespace as otherwise `make check` fails

This PR fixes 3513

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-12-07 15:47:18 +00:00
Yong Tang
bb077c0e49 Update GitHub template for CODE-OF-CONDUCT.md => .github/CODE_OF_CONDUCT.md (#3514)
This PR updates GitHub template for `CODE-OF-CONDUCT.md => `.github/CODE_OF_CONDUCT.md`,
to take advantage of GitHub feature in:

https://help.github.com/en/github/building-a-strong-community/adding-a-code-of-conduct-to-your-project

This PR also moves `SECURITY.md` to `.github/SECURITY.md` and alias it for consistency.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-12-07 15:45:27 +00:00
Miek Gieben
6cac0de83a Update github templates (#3510)
An ISSUE_TEMPLATE directory was added, meaning the ISSUE_TEMPLATE.md is
now obsolete. Remove stale.yml because not used. Symlink CONTRIBUTING.md
the other way around to get GitHub recognize it.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-12-07 04:04:14 -08:00
Miek Gieben
ecd5c0997d
plugin.cfg: go gen -> go generate (#3511)
This takes over #3476 because that is a good change but lacks the DCO
and the author seems unresponsive.

Reformat the file a bit more while we're at it.

Closes: #3476

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-12-07 08:36:43 +00:00
Miek Gieben
a53321d9d6
plugin/sign: fix signing of authoritative data (#3479)
Don't sign data we are not authoritative for. This adds an AuthWalk
which skips names we should not authoritative for. Adds a few tests to
check this is the case. Generates zones have been compared to
dnssec-signzone.

A number of changes have been made:

* don't add DS records to the apex
* NSEC TTL is the SOA's minttl value (copying bind9)
* Various cleanups
* signer struct was cleaned up: doesn't need ttl, nor expiration or
  inception.
* plugin/sign: remove apex stuff from names()
  This is never used because we will always have other types in the
  apex, because we *ADD* them ourselves, before we sign (DNSKEY, CDS and
  CDNSKEY).

Signed-off-by: Miek Gieben <miek@miek.nl>
Co-Authored-By: Chris O'Haver <cohaver@infoblox.com>
2019-12-06 19:54:31 +00:00
Zou Nengren
799dce4bff redirect handler for pprof index (#3503)
Signed-off-by: zouyee <zounengren@cmss.chinamobile.com>
2019-12-06 19:04:49 +00:00
Miek Gieben
25ef9b2d69
Add more paths to CODEOWNERS (#3502)
This splits it up some more; meaning less PRs should hit the top-level
which lists of a lot owners. Still want to keep that list for important
project wide changes

Fixes: #3495

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-12-06 15:39:37 +00:00
Zou Nengren
45c43554a8 make Prot to method (#3500)
Signed-off-by: zouyee <zounengren@cmss.chinamobile.com>
2019-12-06 11:21:34 +00:00
Zou Nengren
13fca02316 use pkg/reuseport in rest plugins (#3492)
Automatically submitted.
2019-12-06 10:55:40 +00:00
dependabot-preview[bot]
af1fe4172a build(deps): bump github.com/aws/aws-sdk-go from 1.25.41 to 1.25.43 (#3497)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.25.41 to 1.25.43.
- [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.41...v1.25.43)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 09:15:51 -08:00
Zou Nengren
2503df9056 introduce issue and pull request templates (#3493)
* introduce issue and pull request templates

Signed-off-by: zouyee <zounengren@cmss.chinamobile.com>

* introduce issue and pull request templates

Signed-off-by: zouyee <zounengren@cmss.chinamobile.com>
2019-11-30 11:33:49 +01:00
Miek Gieben
787b6e06f9
Update governance docs to reflect CODEOWNERS (#3491)
NO GOVERNANCE changes made!

Point to the correct files, now that I merged CODEOWNERS, OWNERS files
are gone and there is also only 1 CODEOWNERS.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-11-29 16:22:50 +00:00
Gonzalo Paniagua Javier
b4df2d0d4c Add a serve_stale option for plugin/cache (#3468)
Automatically submitted.
2019-11-29 15:17:50 +00:00
Miek Gieben
24176a97e6
Move to CODEOWNERS (#3489)
* Move to CODEOWNERS

No change in who own what; just a move to CODEOWNERS. This allows
dreck cleanups.

Added .dreck.yaml for alias and exec.

Fixes: #3486

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

* stickler bot

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

* sort the file

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-11-29 13:17:05 +00:00
dependabot-preview[bot]
d56dbffa95 build(deps): bump github.com/aws/aws-sdk-go from 1.25.36 to 1.25.41 (#3483)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.25.36 to 1.25.41.
- [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.36...v1.25.41)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-25 07:59:52 +00:00
dependabot-preview[bot]
029b8c11f1 build(deps): bump github.com/Azure/azure-sdk-for-go (#3482)
Bumps [github.com/Azure/azure-sdk-for-go](https://github.com/Azure/azure-sdk-for-go) from 32.4.0+incompatible to 32.6.0+incompatible.
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/v32.4.0...v32.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-25 07:59:32 +00:00
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