Commit Graph

3738 Commits

Author SHA1 Message Date
dependabot[bot]
96d3e09c7d build(deps): bump actions/checkout from 3 to 4 (#6302) 2023-09-04 06:56:23 -07:00
dependabot[bot]
e673a9d1e7 build(deps): bump github.com/aws/aws-sdk-go from 1.44.327 to 1.44.332 (#6291)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.327 to 1.44.332.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.44.327...v1.44.332)

---
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>
2023-08-28 10:29:51 -04:00
dependabot[bot]
b6afdddaa1 build(deps): bump google.golang.org/api from 0.136.0 to 0.138.0 (#6293)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.136.0 to 0.138.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.136.0...v0.138.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>
2023-08-28 10:29:32 -04:00
dependabot[bot]
72c4c958ac build(deps): bump k8s.io/client-go from 0.28.0 to 0.28.1 (#6294)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.28.0 to 0.28.1.
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.28.0...v0.28.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>
2023-08-28 10:28:00 -04:00
pschou
5ace19d455 plugin/rewrite: add rcode as a rewrite option (#6204)
* plugin/forward add ignore_server_failure for masking upstream server faults

Signed-off-by: schou <pschou@users.noreply.github.com>

* Switch from a ignore_server_fail to a rewrite rcode type.

Signed-off-by: schou <pschou@users.noreply.github.com>

* trim down the tests

Signed-off-by: schou <pschou@users.noreply.github.com>

* fixing readme TTL and using map for rcode

Signed-off-by: schou <pschou@users.noreply.github.com>

* add newline

Signed-off-by: schou <pschou@users.noreply.github.com>

---------

Signed-off-by: schou <pschou@users.noreply.github.com>
2023-08-26 22:20:12 -04:00
dependabot[bot]
07c7dc82f0 build(deps): bump github.com/quic-go/quic-go from 0.37.4 to 0.38.0 (#6282)
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.37.4 to 0.38.0.
- [Release notes](https://github.com/quic-go/quic-go/releases)
- [Changelog](https://github.com/quic-go/quic-go/blob/master/Changelog.md)
- [Commits](https://github.com/quic-go/quic-go/compare/v0.37.4...v0.38.0)

---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-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>
2023-08-21 16:03:34 -07:00
dependabot[bot]
4574b487c2 build(deps): bump github.com/aws/aws-sdk-go from 1.44.322 to 1.44.327 (#6279)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.322 to 1.44.327.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.44.322...v1.44.327)

---
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>
2023-08-21 09:32:41 -07:00
dependabot[bot]
e5a4557483 build(deps): bump k8s.io/client-go from 0.27.4 to 0.28.0 (#6283)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.27.4 to 0.28.0.
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.27.4...v0.28.0)

---
updated-dependencies:
- dependency-name: k8s.io/client-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>
2023-08-21 09:32:25 -07:00
dependabot[bot]
b548f78c61 build(deps): bump golangci/golangci-lint-action from 3.6.0 to 3.7.0 (#6285)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.6.0...v3.7.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  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>
2023-08-21 09:32:12 -07:00
dependabot[bot]
d9b7402020 build(deps): bump actions/dependency-review-action from 3.0.7 to 3.0.8 (#6284)
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 3.0.7 to 3.0.8.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](7d90b4f05f...f6fff72a32)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  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>
2023-08-21 09:32:00 -07:00
Chris O'Haver
ae2bbc29be 1.11.1 release: bump version + add notes (#6273)
* bump version; add notes

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

---------

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
v1.11.1
2023-08-15 15:30:32 -04:00
Chris O'Haver
678d0333af Revert "plugin/forward: Continue waiting after receiving malformed responses (#6014)" (#6270)
This reverts commit 604a902e2c.
2023-08-14 20:33:37 -04:00
Yuheng
90d55611a2 Plugin dnstap: add support for "extra" field in payload (#6226)
* dnstap: add 'extra' field

Signed-off-by: chenyuheng <chenyuheng99@qq.com>

* dnstap: add setup_test for 'extra' field

Signed-off-by: chenyuheng <chenyuheng99@qq.com>

* udnstap: update document and test

Signed-off-by: chenyuheng <chenyuheng99@qq.com>

* dnstap: update setup_test for more coverage

Signed-off-by: chenyuheng <chenyuheng99@qq.com>

* dnstap: add TapMessageWithMetadata function to Dnstap

Signed-off-by: chenyuheng <chenyuheng99@qq.com>

* dnstap: adapt dnstap and forward plugins to use TapMessageWithMetadata

Signed-off-by: chenyuheng <chenyuheng99@qq.com>

* change TapMessageWithMetadata function

Signed-off-by: chenyuheng <chenyuheng99@qq.com>

* tab inconsistency fix

Signed-off-by: chenyuheng <chenyuheng99@qq.com>

* fix replacer to support empty state

Signed-off-by: chenyuheng <chenyuheng99@qq.com>

* add replacer test for empty status parameter

Signed-off-by: chenyuheng <chenyuheng99@qq.com>

* dnstap: update unit test for 'extra' field

Signed-off-by: chenyuheng <chenyuheng99@qq.com>

* clean up code

Signed-off-by: chenyuheng <chenyuheng99@qq.com>

* gofmt fix & static analysis fix

Signed-off-by: chenyuheng <chenyuheng99@qq.com>

* dnstap: refactor

Signed-off-by: chenyuheng <chenyuheng99@qq.com>

---------

Signed-off-by: chenyuheng <chenyuheng99@qq.com>
2023-08-14 11:01:13 -07:00
dependabot[bot]
eec26e59c6 build(deps): bump actions/dependency-review-action from 3.0.6 to 3.0.7 (#6269)
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 3.0.6 to 3.0.7.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](1360a344cc...7d90b4f05f)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  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>
2023-08-14 09:19:51 -07:00
dependabot[bot]
fd5dbb71d9 build(deps): bump github.com/aws/aws-sdk-go from 1.44.317 to 1.44.322 (#6265) 2023-08-14 07:03:41 -07:00
dependabot[bot]
4d153bf1ec build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.53.0 to 1.54.0 (#6266) 2023-08-14 07:03:32 -07:00
dependabot[bot]
fa069dc1a8 build(deps): bump github.com/antonmedv/expr from 1.12.7 to 1.13.0 (#6267) 2023-08-14 06:26:02 -07:00
dependabot[bot]
07f0955ca9 build(deps): bump google.golang.org/api from 0.134.0 to 0.136.0 (#6264) 2023-08-14 06:25:41 -07:00
dependabot[bot]
33fffbcc80 build(deps): bump github.com/openzipkin/zipkin-go from 0.4.1 to 0.4.2 (#6268) 2023-08-14 06:24:56 -07:00
Zhizhen He
5de473da1c fix: remove unnecessary conversion (#6258)
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
2023-08-14 15:14:09 +02:00
P. Radha Krishna
141c760846 Updated go versions used in workflows to 1.21 (#6260)
* Updated go versions used in workflows to 1.21

Signed-off-by: Neo2308 <pradha.krishna.cse17@itbhu.ac.in>
Co-authored-by: RadhaKrishna <radha.peteti@appdynamics.com>
2023-08-12 07:02:22 -07:00
Zhizhen He
2fe5890d8b Fix typos (#6235)
* Fix typos and add todo to fix spelling of dnsutil.MaximumDefaulTTL

Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
2023-08-10 11:06:48 -04:00
Chris O'Haver
c657af467b grep out the timestamp line (#6251)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2023-08-10 09:17:34 -04:00
Chris O'Haver
9313984196 bump quic package to get go 1.21 fix (#6252)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2023-08-09 09:37:00 -04:00
Chris O'Haver
6c8581445e fix keepttl parsing (#6250)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2023-08-09 08:32:50 -04:00
Yong Tang
932049c6e0 Fix docker release as mips64le is not avail (#6246)
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2023-08-08 21:13:11 -04:00
Yong Tang
9f4aa9d262 Update release note of 1.11.0 and prepare the release (#6223)
* Update release note of 1.11.0 and prepare the release

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

* Updated and sorted Noteworthy Changes

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

* Update coredns-1.11.0.md

Added Release Highlights section.

Added João Henri to contributors list, and the DOQ PR tot he Notable changes.

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

* Update release notes

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

* Update notes/coredns-1.11.0.md

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

---------

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Co-authored-by: Chris O'Haver <cohaver@infoblox.com>
v1.11.0
2023-08-07 12:14:52 -07:00
dependabot[bot]
0e3b7751ba build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.52.0 to 1.53.0 (#6239)
Bumps gopkg.in/DataDog/dd-trace-go.v1 from 1.52.0 to 1.53.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>
2023-08-07 09:59:55 -07:00
dependabot[bot]
9680cbe3c0 build(deps): bump github.com/quic-go/quic-go from 0.35.1 to 0.37.3 (#6238)
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.35.1 to 0.37.3.
- [Release notes](https://github.com/quic-go/quic-go/releases)
- [Changelog](https://github.com/quic-go/quic-go/blob/master/Changelog.md)
- [Commits](https://github.com/quic-go/quic-go/compare/v0.35.1...v0.37.3)

---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-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>
2023-08-07 09:13:09 -07:00
dependabot[bot]
8830cb6cba build(deps): bump github.com/aws/aws-sdk-go from 1.44.312 to 1.44.317 (#6241)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.312 to 1.44.317.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.44.312...v1.44.317)

---
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>
2023-08-07 09:10:56 -07:00
dependabot[bot]
a2bc5ac63d build(deps): bump golang.org/x/crypto from 0.11.0 to 0.12.0 (#6242)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.11.0 to 0.12.0.
- [Commits](https://github.com/golang/crypto/compare/v0.11.0...v0.12.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  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>
2023-08-07 09:10:44 -07:00
João Henri
cc7a364633 [RFC-9250]: Add QUIC server support (#6182)
Add DNS-over-QUIC server 

Signed-off-by: jaehnri <joao.henri.cr@gmail.com>
Signed-off-by: João Henri <joao.henri.cr@gmail.com>
2023-07-31 15:34:31 -04:00
dependabot[bot]
b7c9d3e155 build(deps): bump google.golang.org/grpc from 1.56.2 to 1.57.0 (#6234) 2023-07-31 11:51:39 -07:00
Yuheng
e2662bbbf7 update outdated blog links (#6231)
Signed-off-by: chenyuheng <chenyuheng99@qq.com>
2023-07-31 14:45:17 -04:00
dependabot[bot]
1f4fff794b build(deps): bump google.golang.org/api from 0.132.0 to 0.134.0 (#6233) 2023-07-31 11:18:05 -07:00
dependabot[bot]
c778fee943 build(deps): bump github.com/aws/aws-sdk-go from 1.44.300 to 1.44.312 (#6232) 2023-07-31 11:17:57 -07:00
Diogenes Pelisson
a0e734e01b implement Name function on secondary plugin (#6230)
Signed-off-by: Diogenes Pelisson <diogenes.pelisson@gmail.com>
2023-07-30 15:38:12 +02:00
dependabot[bot]
b95bc0a7ca build(deps): bump k8s.io/client-go from 0.27.3 to 0.27.4 (#6221)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.27.3 to 0.27.4.
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.27.3...v0.27.4)

---
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>
2023-07-24 11:44:19 -07:00
dependabot[bot]
b6425e3de4 build(deps): bump google.golang.org/api from 0.131.0 to 0.132.0 (#6220)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.131.0 to 0.132.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.131.0...v0.132.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>
2023-07-24 09:35:13 -07:00
dependabot[bot]
ecf025586b build(deps): bump k8s.io/api from 0.27.3 to 0.27.4 (#6222)
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.27.3 to 0.27.4.
- [Commits](https://github.com/kubernetes/api/compare/v0.27.3...v0.27.4)

---
updated-dependencies:
- dependency-name: k8s.io/api
  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>
2023-07-24 09:34:50 -07:00
dependabot[bot]
55a2fbe967 build(deps): bump github.com/antonmedv/expr from 1.12.6 to 1.12.7 (#6218)
Bumps [github.com/antonmedv/expr](https://github.com/antonmedv/expr) from 1.12.6 to 1.12.7.
- [Release notes](https://github.com/antonmedv/expr/releases)
- [Commits](https://github.com/antonmedv/expr/compare/v1.12.6...v1.12.7)

---
updated-dependencies:
- dependency-name: github.com/antonmedv/expr
  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>
2023-07-24 09:34:32 -07:00
dependabot[bot]
26eee8233e build(deps): bump github.com/aws/aws-sdk-go from 1.44.294 to 1.44.300 (#6209) 2023-07-17 18:54:19 -07:00
dependabot[bot]
7feef3453b build(deps): bump github.com/prometheus/client_golang (#6205) 2023-07-17 07:11:45 -07:00
dependabot[bot]
217884d13d build(deps): bump github.com/antonmedv/expr from 1.12.5 to 1.12.6 (#6208) 2023-07-17 07:11:19 -07:00
dependabot[bot]
6552b970f5 build(deps): bump google.golang.org/api from 0.130.0 to 0.131.0 (#6207) 2023-07-17 07:11:07 -07:00
Chris O'Haver
c1b479fd02 1.11.0 release prep (#6135)
* add draft notes

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
Co-authored-by: Manuel Rüger <manuel@rueg.eu>
2023-07-12 15:12:35 -04:00
Yong Tang
20408b6e9f Add GitHub release (#6201) 2023-07-11 06:34:29 -07:00
dependabot[bot]
6e9c0cd770 build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.51.0 to 1.52.0 (#6197)
Bumps gopkg.in/DataDog/dd-trace-go.v1 from 1.51.0 to 1.52.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>
2023-07-10 09:12:22 -07:00
Petr Menšík
52f0348312 Change default value to 1232 (#6183)
* Change default value to 1232

As specified by DNS flag day 2020, good and decent default value
avoiding fragmentation issues should be 1232. It is quite likely 1500
would work reliably on local ethernet networks.

Value 512 is set implicitly and must be used for all clients, which did
not include OPT RR with explicit value they support.

Since MR #5368 it should work correctly.

Signed-off-by: Petr Menšík <pemensik@redhat.com>

* Adapt bufsize test to new default value

Check also buffer size smaller than legacy value is not accepted.

Signed-off-by: Petr Menšík <pemensik@redhat.com>

* Update bufsize documentation

Mention also increasing request size is not possible, it can only reduce
the accepted size.

Signed-off-by: Petr Menšík <pemensik@redhat.com>

---------

Signed-off-by: Petr Menšík <pemensik@redhat.com>
2023-07-10 07:49:52 -07:00
Antony Chazapis
7569d132a1 Add support for RISC-V (#6195)
* Add support for RISC-V

Signed-off-by: Antony Chazapis <chazapis@ics.forth.gr>

* Use existing Dockerfile with unstable Debian base images for RISC-V

Signed-off-by: Antony Chazapis <chazapis@ics.forth.gr>

---------

Signed-off-by: Antony Chazapis <chazapis@ics.forth.gr>
2023-07-10 07:49:01 -07:00