Commit graph

3877 commits

Author SHA1 Message Date
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>
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
dependabot[bot]
a338c25e05
build(deps): bump google.golang.org/api from 0.129.0 to 0.130.0 (#6199)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.129.0 to 0.130.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.129.0...v0.130.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-10 07:48:24 -07:00
dependabot[bot]
6fd025f5b1
build(deps): bump github.com/miekg/dns from 1.1.54 to 1.1.55 (#6198)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 15:44:43 +02:00
dependabot[bot]
ae3c8f5a5f
build(deps): bump golang.org/x/crypto from 0.10.0 to 0.11.0 (#6196)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 15:42:13 +02:00
dependabot[bot]
cd3efc8c7b
build(deps): bump k8s.io/client-go from 0.27.2 to 0.27.3 (#6200)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 15:40:31 +02:00
dependabot[bot]
e550ebd519
build(deps): bump github.com/oschwald/geoip2-golang from 1.8.0 to 1.9.0 (#6171)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-05 19:32:24 +02:00
dependabot[bot]
f8dc407cf0
build(deps): bump ossf/scorecard-action from 2.1.3 to 2.2.0 (#6180)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-05 19:26:24 +02:00
Ondřej Benkovský
8224303b09
install faillint properly (#6194)
* install faillint properly

Signed-off-by: Ondřej Benkovský <ondrej.benkovsky@jamf.com>

* fixup! install faillint properly

Signed-off-by: Ondřej Benkovský <ondrej.benkovsky@jamf.com>

---------

Signed-off-by: Ondřej Benkovský <ondrej.benkovsky@jamf.com>
2023-07-05 17:53:02 +02:00
dependabot[bot]
a703fbe4c4
build(deps): bump google.golang.org/api from 0.126.0 to 0.129.0 (#6190)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.126.0 to 0.129.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.126.0...v0.129.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-04 19:28:24 +02:00
dependabot[bot]
1587eabb0a
build(deps): bump k8s.io/api from 0.27.2 to 0.27.3 (#6170)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-04 17:15:02 +02:00
dependabot[bot]
4b7cea37aa
build(deps): bump github.com/aws/aws-sdk-go from 1.44.280 to 1.44.294 (#6189)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-04 16:43:46 +02:00
dependabot[bot]
3ef26bcf34
build(deps): bump golang.org/x/crypto from 0.9.0 to 0.10.0 (#6173)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-04 16:36:25 +02:00