Commit Graph

2940 Commits

Author SHA1 Message Date
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
coredns[bot]
cd1134f0c9 auto go fmt
Signed-off-by: coredns[bot] <bot@bot.coredns.io>
2021-06-07 10:43:28 +00:00
Sven Nebel
47be274d34 Fix plugin file reload comment (#4665)
Signed-off-by: Sven Nebel <nebel.sven@gmail.com>
2021-06-05 15:06:25 +02:00
Chris O'Haver
e2f70b976a download -> tidy (#4664)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2021-06-04 13:52:30 -04:00
Chris O'Haver
846ace3f51 Fix IPv6 case for CIDR format reverse zones (#4652)
* fix ipv6 case for cidr.Class

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

* add check and test case for invalid ipv6 cidr

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

* net package is bad at detecting ipv6/ipv4

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

* rename Class -> Split

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2021-06-04 10:17:17 +02:00
coredns[bot]
a50c0f151f auto go mod tidy
Signed-off-by: coredns[bot] <bot@bot.coredns.io>
2021-06-02 10:51:29 +00:00
dependabot[bot]
19e14cb0b5 build(deps): bump github.com/aws/aws-sdk-go from 1.38.45 to 1.38.51 (#4657) 2021-05-31 06:23:42 -07:00
dependabot[bot]
0bacc2c953 build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.28.0 to 1.31.1 (#4660) 2021-05-31 06:23:21 -07:00
dependabot[bot]
0566aa3e28 build(deps): bump go.etcd.io/etcd/client/v3 (#4658) 2021-05-31 06:22:45 -07:00
Miek Gieben
bcbe624eb4 Add -p for port flag (#4653)
-p is the default flag in DNS software for setting the port, we use
'dns.port' because of preventing clashes with other caddy software
users. This is no longer an issue, so we can do what we want here.

Add -p to works like -dns.port.

(this PR includes generated manpage, but that shouldn't matter too much)

Signed-off-by: Miek Gieben <miek@miek.nl>
2021-05-28 07:08:13 -07:00
Miek Gieben
053c4d5ca1 Bump version and amend notes to include latest PRs (#4634)
* Bump version and amend notes to include latest PRs

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

* Update notes/coredns-1.8.4.md

Co-authored-by: Chris O'Haver <cohaver@infoblox.com>

* Update notes/coredns-1.8.4.md

Co-authored-by: Chris O'Haver <cohaver@infoblox.com>

* Update notes/coredns-1.8.4.md

Co-authored-by: Chris O'Haver <cohaver@infoblox.com>

* Update notes/coredns-1.8.4.md

Co-authored-by: Chris O'Haver <cohaver@infoblox.com>

* Remove newline and set data anew

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

Co-authored-by: Chris O'Haver <cohaver@infoblox.com>
v1.8.4
2021-05-28 12:14:09 +02:00
Ben Kochie
9edfaed631 Reduce the cardinality of health endpoint metrics (#4650)
The health endpoint histogram has a large amount of cardinality for a
simple endpoint. Introduce a new "Slim" set of buckets for `/health` to
reduce the metrics load on large deployments. Especially those that have
per-node DNS caching services.

Add a metric to count internal health check failures rather than use the
timeout value as side effect monitor of the check error. This avoids
incorrectly recording the timeout value if there is an error that is not
a timeout (ex. refused)

Signed-off-by: SuperQ <superq@gmail.com>
2021-05-27 15:16:38 +02:00
uesyn
4c0fdc3909 plugin/kubernetes: consistently choose EndpointSlices or Endpoints for unstable API (#4647)
* confirm endpointslices is served or not

Signed-off-by: uesyn <suemura@zlab.co.jp>

* Apply suggestions

Signed-off-by: uesyn <suemura@zlab.co.jp>
2021-05-27 08:48:52 -04:00