Commit Graph

3064 Commits

Author SHA1 Message Date
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
Chris O'Haver
1c6b68f3cb tls.PreferServerCipherSuites is ignored as of go 1.17 (#5108)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2022-01-21 15:04:36 -08:00
Chris O'Haver
dc9e469e2b bump required go version to 1.17 (#5107)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2022-01-21 15:04:14 -08:00
dependabot[bot]
5e448f1965 build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.34.0 to 1.35.0 (#5101)
Bumps [gopkg.in/DataDog/dd-trace-go.v1](https://github.com/DataDog/dd-trace-go) from 1.34.0 to 1.35.0.
- [Release notes](https://github.com/DataDog/dd-trace-go/releases)
- [Commits](https://github.com/DataDog/dd-trace-go/compare/v1.34.0...v1.35.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-17 10:09:26 -08:00
dependabot[bot]
4c34e5f119 build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#5096)
Bumps [github.com/Azure/go-autorest/autorest/azure/auth](https://github.com/Azure/go-autorest) from 0.5.10 to 0.5.11.
- [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/azure/auth/v0.5.10...autorest/azure/auth/v0.5.11)

---
updated-dependencies:
- dependency-name: github.com/Azure/go-autorest/autorest/azure/auth
  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-17 08:18:15 -08:00
dependabot[bot]
07022717b7 build(deps): bump github.com/Azure/go-autorest/autorest (#5097) 2022-01-17 07:49:26 -08:00
dependabot[bot]
c33e5646e1 build(deps): bump google.golang.org/api from 0.64.0 to 0.65.0 (#5098) 2022-01-17 07:49:17 -08:00
dependabot[bot]
a4d97d553d build(deps): bump github.com/openzipkin/zipkin-go from 0.3.0 to 0.4.0 (#5099) 2022-01-17 07:49:09 -08:00
dependabot[bot]
36ac12101f build(deps): bump github.com/aws/aws-sdk-go from 1.42.30 to 1.42.35 (#5100) 2022-01-17 07:49:00 -08:00
Ondřej Benkovský
a9adfd56ad Log panic cause for better debugging (#5091) v1.8.7 2022-01-13 12:41:32 -08:00
coredns[bot]
1c4e8eb75d auto remove trailing whitespaces
Signed-off-by: coredns[bot] <bot@bot.coredns.io>
2022-01-11 10:34:21 +00:00
dependabot[bot]
6b537effda build(deps): bump google.golang.org/api from 0.63.0 to 0.64.0 (#5083) 2022-01-10 05:50:02 -08:00
dependabot[bot]
db1dd072c1 build(deps): bump github.com/aws/aws-sdk-go from 1.42.25 to 1.42.30 (#5082) 2022-01-10 05:49:52 -08:00
dependabot[bot]
34ce1ed0b6 build(deps): bump github.com/Azure/azure-sdk-for-go (#5081) 2022-01-10 05:49:41 -08:00
coredns[bot]
7d629a0b9e auto go fmt
Signed-off-by: coredns[bot] <bot@bot.coredns.io>
2022-01-10 10:28:56 +00:00
xuweiwei
56ee0efa69 plugin/file: add a test case for wildcard RRs do not apply (#5078)
From RFC 1034 ...

Wildcard RRs do not apply:
[...]

When the query name or a name between the wildcard domain and
the query name is know to exist. For example, if a wildcard
RR has an owner name of "*.X", and the zone also contains RRs
attached to B.X, the wildcards would apply to queries for name
Z.X (presuming there is no explicit information for Z.X), but
not to B.X, A.B.X, or X.

Signed-off-by: xuweiwei <xuweiwei_yewu@cmss.chinamobile.com>
2022-01-08 06:03:28 -08:00
Chris O'Haver
37c0fcf439 persist truncated state to client if lookup response is truncated (#4712)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2022-01-07 11:19:46 -05:00
Ondřej Benkovský
b546031f9b plugin/dns64 : add support for DNS requests over IPv4 network (#4809) 2022-01-07 11:16:23 -05:00
Ting Yuan
39a99a5bbe fix goroutine leaks in TestRoute53 (#5070)
Signed-off-by: Ting Yuan <yuanting@ict.ac.cn>
2022-01-05 05:20:32 -08:00
dependabot[bot]
7ee128a53d build(deps): bump github.com/aws/aws-sdk-go from 1.42.24 to 1.42.25 (#5059)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.42.24 to 1.42.25.
- [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.24...v1.42.25)

---
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-03 08:51:19 -08:00
dependabot[bot]
aebe5ea8e0 build(deps): bump github.com/miekg/dns from 1.1.43 to 1.1.45 (#5066) 2022-01-03 08:16:57 -08:00
dependabot[bot]
8c4fb48da0 build(deps): bump github.com/Azure/azure-sdk-for-go (#5065) 2022-01-03 07:46:15 -08:00
Ben Kochie
74f3bea50f Convert HostPortOrFile error to var (#5058)
Convert "no nameservers found" error on parse.HostPortOrFile() to an
exported var for use with `errors.Is()`.

Signed-off-by: SuperQ <superq@gmail.com>
2021-12-23 12:02:28 -05:00
dependabot[bot]
b53aac992a build(deps): bump k8s.io/client-go from 0.23.0 to 0.23.1 (#5049)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.23.0 to 0.23.1.
- [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.0...v0.23.1)

---
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>
2021-12-20 14:03:36 -08:00
dependabot[bot]
26cc4bb923 build(deps): bump github.com/Azure/azure-sdk-for-go (#5054)
Bumps [github.com/Azure/azure-sdk-for-go](https://github.com/Azure/azure-sdk-for-go) from 60.1.0+incompatible to 60.2.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/v60.1.0...v60.2.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>
2021-12-20 13:04:09 -08:00
dependabot[bot]
3bba34048a build(deps): bump github.com/aws/aws-sdk-go from 1.42.22 to 1.42.24 (#5055)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.42.22 to 1.42.24.
- [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.22...v1.42.24)

---
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-12-20 13:03:55 -08:00
dependabot[bot]
09046304a9 build(deps): bump k8s.io/klog/v2 from 2.30.0 to 2.40.1 (#5052)
Bumps [k8s.io/klog/v2](https://github.com/kubernetes/klog) from 2.30.0 to 2.40.1.
- [Release notes](https://github.com/kubernetes/klog/releases)
- [Changelog](https://github.com/kubernetes/klog/blob/main/RELEASE.md)
- [Commits](https://github.com/kubernetes/klog/compare/v2.30.0...v2.40.1)

---
updated-dependencies:
- dependency-name: k8s.io/klog/v2
  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-12-20 13:03:42 -08:00