Commit Graph

2852 Commits

Author SHA1 Message Date
Ondřej Benkovský
936b483a3a publish trace id as metadata from trace plugin (#4749)
Signed-off-by: Ondrej Benkovsky <ondrej.benkovsky@wandera.com>
2021-07-14 09:21:41 +02:00
Miek Gieben
e62600a196 Add preliminary notes for 1.8.5 (#4745) 2021-07-12 21:29:43 -07:00
dependabot[bot]
729de52163 build(deps): bump github.com/aws/aws-sdk-go from 1.39.0 to 1.39.4 (#4744)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.39.0 to 1.39.4.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.39.0...v1.39.4)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-12 08:26:30 -07:00
coredns[bot]
ae0431e4da auto go fmt
Signed-off-by: coredns[bot] <bot@bot.coredns.io>
2021-07-12 10:32:17 +00:00
Ondřej Benkovský
d17e50afc7 plugin/trace: fix rcode tag in case of no response (#4742)
Signed-off-by: Ondrej Benkovsky <ondrej.benkovsky@wandera.com>
2021-07-10 07:34:53 +02:00
Chris O'Haver
6efda5293e fix example (#4740)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2021-07-09 13:00:43 -04:00
Chris O'Haver
a7d44b65e2 update example description to match example (#4739)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2021-07-09 09:42:37 -07:00
Miek Gieben
a26462c28c plugin/error: use warning instead of warn (#4738)
We use the 'WARNING' in the logs, instead of warn, so make the change
here as well for consistency sake.

Signed-off-by: Miek Gieben <miek@miek.nl>
2021-07-09 09:38:58 -07:00
Chris O'Haver
bdaa2a5527 Share plugins among zones in the same server block (#4593)
* share plugins among zones in the same server block

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

* update caddy dep

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

* simp code

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

* copy ListenHosts and Debug from first config

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

* copy tls configs from first config

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

* add test to validate debug setting is replicated to all configs in block

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

* stop server

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2021-07-09 17:12:06 +02:00
Ondřej Benkovský
2a61309cad when no response is written, fallback to status of next plugin in prometheus plugin (#4727)
* when no response is written, fallback to status of next plugin in prometheus plugin

Signed-off-by: Ondrej Benkovsky <ondrej.benkovsky@wandera.com>

* fixup! when no response is written, fallback to status of next plugin in prometheus plugin

Signed-off-by: Ondrej Benkovsky <ondrej.benkovsky@wandera.com>
2021-07-09 16:35:38 +02:00
Ondřej Benkovský
70b51a73d3 add configurable log level to errors plugin (#4718)
Automatically submitted.
2021-07-09 14:23:02 +00:00
Ondřej Benkovský
a6a7e73813 do not log NOERROR in log plugin when response is not available (#4725)
Signed-off-by: Ondrej Benkovsky <ondrej.benkovsky@wandera.com>
2021-07-09 13:15:34 +02:00
Chris O'Haver
002b748ccd plugin/cache: Unset AD flag when DO is not set for cache miss (#4736)
* unset AD bit when client DO is 0

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

* add flag check to existing tests

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2021-07-09 10:53:50 +02:00
dependabot[bot]
bfb6972d30 build(deps): bump google.golang.org/api from 0.49.0 to 0.50.0 (#4732) 2021-07-05 08:03:31 -07:00
dependabot[bot]
59c460df3f build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#4733) 2021-07-05 07:25:25 -07:00
dependabot[bot]
2d56836679 build(deps): bump google.golang.org/grpc from 1.38.0 to 1.39.0 (#4731) 2021-07-05 07:24:40 -07:00
dependabot[bot]
e788cf8a4b build(deps): bump github.com/aws/aws-sdk-go from 1.38.68 to 1.39.0 (#4734) 2021-07-05 07:21:26 -07:00
coredns[bot]
c610bfd87f auto go fmt
Signed-off-by: coredns[bot] <bot@bot.coredns.io>
2021-07-05 10:34:54 +00:00
Chris O'Haver
97bb9d87e5 fix to docs; add acl example (#4711)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2021-06-30 10:09:23 +08:00
Ondřej Benkovský
9e90d6231e trace plugin can mark traces with error tag (#4720)
Signed-off-by: Ondrej Benkovsky <ondrej.benkovsky@wandera.com>
2021-06-29 09:10:22 +02:00
dependabot[bot]
a5ab94eabb build(deps): bump github.com/aws/aws-sdk-go from 1.38.64 to 1.38.68 (#4723)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.38.64 to 1.38.68.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.38.64...v1.38.68)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-28 08:55:23 -07:00
dependabot[bot]
2f4fd0113e build(deps): bump github.com/miekg/dns from 1.1.42 to 1.1.43 (#4722)
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.42 to 1.1.43.
- [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.42...v1.1.43)

---
updated-dependencies:
- dependency-name: github.com/miekg/dns
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-28 08:54:59 -07:00
dependabot[bot]
eb5d77137b build(deps): bump google.golang.org/api from 0.48.0 to 0.49.0 (#4721)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.48.0 to 0.49.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/master/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.48.0...v0.49.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-28 08:54:20 -07:00
mfleader
38e409b4b6 Correct newdnsController's documented function signature (#4717)
Signed-off-by: mleader <mleader@redhat.com>
2021-06-24 15:18:08 -04:00
dependabot[bot]
780c256c5f build(deps): bump k8s.io/client-go from 0.21.1 to 0.21.2 (#4710) 2021-06-21 05:52:36 -07:00
dependabot[bot]
36bf876aaf build(deps): bump k8s.io/api from 0.21.1 to 0.21.2 (#4708) 2021-06-21 05:31:45 -07:00
dependabot[bot]
397fe7051f build(deps): bump go.etcd.io/etcd/client/v3 from 3.5.0-rc.1 to 3.5.0 (#4707) 2021-06-21 05:31:17 -07:00
dependabot[bot]
5f3ee3412e build(deps): bump k8s.io/apimachinery from 0.21.1 to 0.21.2 (#4705) 2021-06-21 04:50:54 -07:00
dependabot[bot]
71c68354ad build(deps): bump github.com/aws/aws-sdk-go from 1.38.60 to 1.38.64 (#4706) 2021-06-21 04:50:43 -07:00
dependabot[bot]
c1140c399d build(deps): bump go.etcd.io/etcd/api/v3 from 3.5.0-rc.1 to 3.5.0 (#4709) 2021-06-21 04:50:16 -07:00
Yong Tang
5a8c067258 Enable dependabot scan on github actions (#4704)
Since we are using GitHub Actions in CoreDNS repo and we are already
using Dependabot for security/version scans on golang code,
it makes sense to enable security/version scans on GitHub Actions as well.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2021-06-21 08:46:56 +02:00
Chris O'Haver
a1aafbf405 Add NS+hosts records to xfr response. Add coredns service to test data. (#4696)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2021-06-14 16:39:40 +02:00
dependabot[bot]
0f061cc9f7 build(deps): bump go.etcd.io/etcd/client/v3 (#4692) 2021-06-14 06:34:38 -07:00
dependabot[bot]
95faa85641 build(deps): bump google.golang.org/api from 0.47.0 to 0.48.0 (#4694) 2021-06-14 05:51:39 -07:00
dependabot[bot]
8edc01132d build(deps): bump github.com/prometheus/common from 0.28.0 to 0.29.0 (#4693) 2021-06-14 05:50:38 -07:00
dependabot[bot]
9020e1f6e4 build(deps): bump github.com/aws/aws-sdk-go from 1.38.55 to 1.38.60 (#4691) 2021-06-14 05:50:16 -07:00
Miek Gieben
be8958552e plugin/secondary: doc updates (#4686)
Add retry behavior on startup and point to RFC 5936

Signed-off-by: Miek Gieben <miek@miek.nl>
2021-06-11 10:54:49 -07:00
Chris O'Haver
09b63df9c1 fix cidr multi-zone check (#4682)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2021-06-10 10:50:20 +02:00
Chris O'Haver
79d6795333 plugin/secondary: Retry initial transfer until successful (#4663)
* retry initial transfer

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

* fix import grouping

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

* add test; use backoff timeout

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

* fix import order

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

* manual backoff

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2021-06-10 10:49:31 +02:00
coredns[bot]
ad7ccf6925 auto go mod tidy
Signed-off-by: coredns[bot] <bot@bot.coredns.io>
2021-06-09 10:32:20 +00:00
Yong Tang
c3cb6f00ee Fix timestamp issue for doc generating (#4683)
This PR will fix the issue of doc is not automated rendered
through GitHub Actions anymore.

It looks the issue is cause by the fact that in `fixup_file_mtime.sh`
is only fixing files on source (.md) side, not on target (man/*.[1|5|7])
side. As a result Makefile will skip the rendering of doc as
it assume everything will be update to date.

This should fix the issue we were facing.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2021-06-08 10:17:17 -07:00
Yong Tang
c996a26364 Add verbose log in GitHub Actions CI for make -f Makefile.doc (#4681)
Our GitHub Actions CI is having some issues with `make -f Makefile.doc`
as the related changes that should have triggered the build didn't
work for the past 3 months (since march).

This PR adds verbose to GitHub Actions CI to see if we can get more information.

Note this PR just add `set -x` to show detailed step. Will not impact anything else.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2021-06-08 09:26:38 -07:00
Miek Gieben
491e30a292 plugin/log: fix closing of codeblock (#4680)
This fixes the rendering of this README as html. The codeblock was
closed with 4 ~, should be 3.

Signed-off-by: Miek Gieben <miek@miek.nl>
2021-06-08 07:33:15 -07:00
Licht Takeuchi
b9b27bbbd0 Fix Route53 plugin cannot retrieve ECS Task Role (#4669)
Signed-off-by: Licht Takeuchi <licht-t@outlook.jp>
2021-06-07 16:58:56 +02:00
dependabot[bot]
7dbadc1261 build(deps): bump go.etcd.io/etcd/client/v3 (#4671)
Bumps [go.etcd.io/etcd/client/v3](https://github.com/etcd-io/etcd) from 3.5.0-beta.4 to 3.5.0-rc.0.
- [Release notes](https://github.com/etcd-io/etcd/releases)
- [Changelog](https://github.com/etcd-io/etcd/blob/main/CHANGELOG-3.4.md)
- [Commits](https://github.com/etcd-io/etcd/compare/v3.5.0-beta.4...v3.5.0-rc.0)

---
updated-dependencies:
- dependency-name: go.etcd.io/etcd/client/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-07 06:59:45 -07:00
dependabot[bot]
dbcdb61e3f build(deps): bump github.com/prometheus/common from 0.26.0 to 0.28.0 (#4678)
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.26.0 to 0.28.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.26.0...v0.28.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-07 06:59:31 -07:00
dependabot[bot]
86519762ca build(deps): bump github.com/prometheus/client_golang (#4676) 2021-06-07 06:35:15 -07:00
dependabot[bot]
ab32b3f72a build(deps): bump github.com/aws/aws-sdk-go from 1.38.51 to 1.38.55 (#4675) 2021-06-07 06:12:55 -07:00
dependabot[bot]
d151ea74df build(deps): bump github.com/Azure/go-autorest/autorest (#4672) 2021-06-07 05:52:40 -07:00
dependabot[bot]
ad731b700d build(deps): bump go.etcd.io/etcd/api/v3 from 3.5.0-beta.4 to 3.5.0-rc.0 (#4670) 2021-06-07 05:52:06 -07:00