Commit Graph

3190 Commits

Author SHA1 Message Date
xuweiwei
86a5902209 plugin/file: add TXT RR test case (#5079)
Signed-off-by: xuweiwei <xuweiwei_yewu@cmss.chinamobile.com>
2022-02-17 13:58:18 -05:00
Rudolf Schönecker
c121aaab34 Add metric counting DNS-over-HTTPS responses (#5130)
Signed-off-by: Rudolf Schonecker <rudolf.schonecker@jamf.com>
2022-02-17 08:37:40 -05:00
Chris O'Haver
e5626a77bb plugin/secondary: Fix startup transfer failure wrong zone logged (#5085)
* avoid race

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2022-02-14 12:12:08 -05:00
Elijah Andrews
80195c399f add zones label to cache metrics (#5124)
* add zones to cache metrics

Signed-off-by: Elijah Andrews <elijahcandrews@gmail.com>
2022-02-14 12:10:30 -05:00
dependabot[bot]
d97dbbef61 build(deps): bump google.golang.org/api from 0.67.0 to 0.68.0 (#5186)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.67.0 to 0.68.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.67.0...v0.68.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>
2022-02-14 08:37:55 -08:00
dependabot[bot]
749a38e151 build(deps): bump github.com/Azure/azure-sdk-for-go (#5187)
Bumps [github.com/Azure/azure-sdk-for-go](https://github.com/Azure/azure-sdk-for-go) from 61.4.0+incompatible to 61.5.0+incompatible.
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/v61.4.0...v61.5.0)

---
updated-dependencies:
- dependency-name: github.com/Azure/azure-sdk-for-go
  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>
2022-02-14 08:37:44 -08:00
dependabot[bot]
717d1424b5 build(deps): bump github.com/aws/aws-sdk-go from 1.42.47 to 1.42.52 (#5188)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.42.47 to 1.42.52.
- [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.42.47...v1.42.52)

---
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>
2022-02-14 08:37:33 -08:00
Yong Tang
c6709d930f Fix security scans by cleaning up file path (#5185)
While performing security scans there were several
issue raised as G304 (CWE-22): Potential file inclusion via variable.
As some files path are taken from user input, it is possible the
filepath passed by user may have unintended effect if not properly formed.
This fix add Clean to remove the security warning and address some
potential issue.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2022-02-14 11:24:21 -05:00
coredns[bot]
b40f2a0a44 auto go fmt
Signed-off-by: coredns[bot] <bot@bot.coredns.io>
2022-02-14 10:32:27 +00:00
Chris O'Haver
fe9ba42590 plugin/autopath: Don't panic on empty token (#5169)
* dont panic on empty token

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2022-02-10 09:00:27 -05:00
Chris O'Haver
c5eb7d0460 dont panic when from-zone cannot be normalized (#5171)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2022-02-10 08:59:34 -05:00
Chris O'Haver
d6743531ad fix healthy proxy error case (#5168)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2022-02-10 08:58:46 -05:00
Chris O'Haver
4064430f81 fix notes (#5175)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2022-02-09 15:04:09 -05:00
Yong Tang
ace3dcb1a3 Add inital 1.9.0 release note (#5145)
* Add inital 1.9.0 release note

Add inital 1.9.0 release note, will update later if there are
more items to add.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Update notes/coredns-1.9.0.md

Co-authored-by: Chris O'Haver <cohaver@infoblox.com>
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Update notes/coredns-1.9.0.md

Co-authored-by: Chris O'Haver <cohaver@infoblox.com>
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Update notes/coredns-1.9.0.md

Co-authored-by: Chris O'Haver <cohaver@infoblox.com>
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Update version string to 1.9.0

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

Co-authored-by: Chris O'Haver <cohaver@infoblox.com>
v1.9.0
2022-02-09 11:26:02 -08:00
Chris O'Haver
4693f40990 Revert "add wildcard warnings (#5030)" (#5167)
This reverts commit 744468ea78.
2022-02-09 11:25:15 -08:00
Chris O'Haver
4349b6fa63 dont panic on empty SRV segments (#5173)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2022-02-09 13:52:53 -05:00
Chris O'Haver
daace98352 plugin/metrics: Acknowledge other stats exported in README (#5172)
* mention default go stats and other plugin stats in README

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2022-02-09 13:52:18 -05:00
Tomas Hulata
b0edae07f1 Health-checks should respect force_tcp (#5109)
* health check should respect force_tcp

Signed-off-by: tombokombo <tombo@sysart.tech>
2022-02-09 09:45:52 -05:00
Chris O'Haver
abaf938623 remove wildcard query functionality (#5019)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2022-02-09 09:25:10 -05:00
Yong Tang
40a526b27f Stale-bot: Do not mark issues stale when pending maintainer action (#5156)
Only adds stale with labels 'answered,needs info' in issues and 'needs update' in PRs

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2022-02-09 08:41:05 -05:00
Yong Tang
041e1eabc6 Fix a couple of code scanning alerts (#5157)
This PR fixed a couple of code scanning alerts:

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2022-02-07 09:09:12 -05:00
dependabot[bot]
69473c5cad build(deps): bump github.com/miekg/dns from 1.1.45 to 1.1.46 (#5163) 2022-02-07 05:34:13 -08:00
dependabot[bot]
6c941258fa build(deps): bump google.golang.org/api from 0.66.0 to 0.67.0 (#5162) 2022-02-07 05:34:04 -08:00
dependabot[bot]
1a08c6b8aa build(deps): bump github.com/aws/aws-sdk-go from 1.42.44 to 1.42.47 (#5161) 2022-02-07 05:33:55 -08:00
dependabot[bot]
9b8c0b1685 build(deps): bump go.etcd.io/etcd/client/v3 from 3.5.1 to 3.5.2 (#5160) 2022-02-07 05:33:38 -08:00
Yong Tang
8509fb569d Add github actions for docker release. (#5146)
* Add github actions for docker release.

Once a release/tag shown up in GitHub,
an GitHub Action will be automatically triggered
for docker release.

This will help avoid additional steps when releasing.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Update to address the review

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Address review comment

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2022-02-03 10:23:39 -08:00
Ben Kochie
7d9ad0872c Cleanup yaml formatting (#5151)
* Add yamllint config.
* Add yamllint workflow.
* Cleanup linting issues.
* Remove unnecessary `set -x -e` from workflows.

Signed-off-by: SuperQ <superq@gmail.com>
2022-02-02 18:11:08 +01:00
Chris O'Haver
911891f485 plugin/rewrite: Write failures with ResponseReverter (#5150)
* write failures with ResponseReverter instead of letting server write them

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

* fix comment

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2022-02-01 16:54:06 -05:00
soulfy
49ee97994e fix: convert key to domain (#5064)
fix convert key to domain when key ends with '/'
2022-02-01 09:45:43 -05:00
dependabot[bot]
6377e6a9d9 build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.35.0 to 1.36.0 (#5142)
Bumps [gopkg.in/DataDog/dd-trace-go.v1](https://github.com/DataDog/dd-trace-go) from 1.35.0 to 1.36.0.
- [Release notes](https://github.com/DataDog/dd-trace-go/releases)
- [Commits](https://github.com/DataDog/dd-trace-go/compare/v1.35.0...v1.36.0)

---
updated-dependencies:
- dependency-name: gopkg.in/DataDog/dd-trace-go.v1
  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>
2022-01-31 14:51:11 -08:00
dependabot[bot]
afdaeb30c2 build(deps): bump github.com/prometheus/client_golang (#5143)
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.12.0 to 1.12.1.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.12.0...v1.12.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  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>
2022-01-31 14:39:35 -08:00
dependabot[bot]
4d6cc566cb build(deps): bump google.golang.org/grpc from 1.43.0 to 1.44.0 (#5136)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.43.0 to 1.44.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.43.0...v1.44.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  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>
2022-01-31 07:29:28 -08:00
dependabot[bot]
e2338e23c3 build(deps): bump k8s.io/client-go from 0.23.2 to 0.23.3 (#5134)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.23.2 to 0.23.3.
- [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.23.2...v0.23.3)

---
updated-dependencies:
- dependency-name: k8s.io/client-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>
2022-01-31 07:29:13 -08:00
dependabot[bot]
2081e12d8d build(deps): bump github.com/aws/aws-sdk-go from 1.42.39 to 1.42.44 (#5139)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.42.39 to 1.42.44.
- [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.42.39...v1.42.44)

---
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>
2022-01-31 07:28:57 -08:00
dependabot[bot]
f634e7684e build(deps): bump github.com/Azure/azure-sdk-for-go (#5141)
Bumps [github.com/Azure/azure-sdk-for-go](https://github.com/Azure/azure-sdk-for-go) from 61.3.0+incompatible to 61.4.0+incompatible.
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/v61.3.0...v61.4.0)

---
updated-dependencies:
- dependency-name: github.com/Azure/azure-sdk-for-go
  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>
2022-01-31 07:28:44 -08:00
dependabot[bot]
a3e689f707 build(deps): bump github.com/oschwald/geoip2-golang from 1.5.0 to 1.6.1 (#5140)
Bumps [github.com/oschwald/geoip2-golang](https://github.com/oschwald/geoip2-golang) from 1.5.0 to 1.6.1.
- [Release notes](https://github.com/oschwald/geoip2-golang/releases)
- [Commits](https://github.com/oschwald/geoip2-golang/compare/v1.5.0...v1.6.1)

---
updated-dependencies:
- dependency-name: github.com/oschwald/geoip2-golang
  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>
2022-01-31 07:28:30 -08:00
dependabot[bot]
965ba514eb build(deps): bump k8s.io/api from 0.23.2 to 0.23.3 (#5137) 2022-01-31 07:03:10 -08:00
dependabot[bot]
e2b2e81dff build(deps): bump google.golang.org/api from 0.65.0 to 0.66.0 (#5138) 2022-01-31 07:02:55 -08:00
coredns[bot]
830a0f7dcb auto go fmt
Signed-off-by: coredns[bot] <bot@bot.coredns.io>
2022-01-31 10:27:19 +00:00
Yong Tang
52c057f86f Add enhancement label to the whitelist of issues. (#5129) 2022-01-26 19:16:54 -08:00
Yong Tang
97d6ec2d39 Add stale github action (#5128)
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2022-01-26 16:32:04 -05:00
Chris O'Haver
49f0562f6c plugin/template: Persist truncated state to client if CNAME lookup response is truncated (#4713)
* persist truncated state to client if cname lookup response is truncated

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2022-01-26 15:49:44 -05:00
Ondřej Benkovský
f713a51319 plugin/prometheus: write rcode properly to the metrics (#5126)
* plugin/prometheus: write rcode properly to the metrics

Signed-off-by: Ondřej Benkovský <ondrej.benkovsky@jamf.com>
2022-01-26 11:32:01 -05:00
dependabot[bot]
482a20afce build(deps): bump github.com/Azure/azure-sdk-for-go (#5119)
Bumps [github.com/Azure/azure-sdk-for-go](https://github.com/Azure/azure-sdk-for-go) from 61.1.0+incompatible to 61.3.0+incompatible.
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/v61.1.0...v61.3.0)

---
updated-dependencies:
- dependency-name: github.com/Azure/azure-sdk-for-go
  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>
2022-01-24 09:19:52 -08:00
dependabot[bot]
d6dbab5ce8 build(deps): bump k8s.io/client-go from 0.23.1 to 0.23.2 (#5115)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.23.1 to 0.23.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.23.1...v0.23.2)

---
updated-dependencies:
- dependency-name: k8s.io/client-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>
2022-01-24 08:10:58 -08:00
dependabot[bot]
b0f1354a4e build(deps): bump github.com/prometheus/client_golang (#5117) 2022-01-24 06:36:29 -08:00
dependabot[bot]
e9247b7e45 build(deps): bump github.com/aws/aws-sdk-go from 1.42.35 to 1.42.39 (#5116) 2022-01-24 06:36:10 -08:00
dependabot[bot]
242a3482bf build(deps): bump k8s.io/api from 0.23.1 to 0.23.2 (#5114) 2022-01-24 06:35:55 -08:00
Yong Tang
7754718e1a Adjust the README.md guide as coredns requires go 1.17. (#5111) 2022-01-21 18:01:24 -08:00
xuweiwei
1d3e901157 plugin/file: optimize cname get rr by type (#5080)
Signed-off-by: xuweiwei <xuweiwei_yewu@cmss.chinamobile.com>
2022-01-21 15:05:11 -08:00