Commit Graph

3354 Commits

Author SHA1 Message Date
Konstantin Demin
4c53479e4a Dockerfile: copy only CA certificate bundle (#5571)
and never more - (dangling) symlinks pointing to /usr/share/ca-certificates/mozilla/ in Debian:stable-slim

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
2022-08-15 11:22:08 -04:00
Vancl
4033d7aeba plugin/forward: health_check needs to normalize a specified domain name (#5543)
* plugin/forward: convert the specified domain of health_check to Fqdn
* plugin/forward: update readme for health check

Signed-off-by: vanceli <vanceli@tencent.com>
2022-08-15 10:16:15 -04:00
dependabot[bot]
22e77b2cf2 build(deps): bump github.com/aws/aws-sdk-go from 1.44.70 to 1.44.76 (#5573)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.70 to 1.44.76.
- [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.44.70...v1.44.76)

---
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-15 09:20:32 -04:00
dependabot[bot]
47950e8953 build(deps): bump google.golang.org/api from 0.91.0 to 0.92.0 (#5572)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.91.0 to 0.92.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.91.0...v0.92.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-15 09:20:21 -04:00
Alex
c9e9954d33 Add PTR records to supported types (#5565)
* Add PTR records to supported types

Signed-off-by: Alex Bulatov <xbulat@gmail.com>

* Add extra line

Signed-off-by: Alex Bulatov <xbulat@gmail.com>

* Fix title

Signed-off-by: Alex Bulatov <xbulat@gmail.com>

Signed-off-by: Alex Bulatov <xbulat@gmail.com>
2022-08-14 10:26:39 -04:00
Christoph Heer
5c1447e0b0 plugin/header: Add support for query modification (#5548) (#5556) 2022-08-12 04:46:06 -07:00
Yong Tang
c7fe4a0c4d Bump golang to 1.19 (#5564)
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

Fix golang lint

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

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2022-08-10 09:26:44 -07:00
Yong Tang
086b7d6083 Update to go mod tidy with 1.17+ (#5563)
* Update to go mod tidy with 1.17+

While running go mod tidy the following issue encountered:
```
go: downloading github.com/stretchr/objx v0.4.0
github.com/coredns/coredns/plugin/trace imports
	gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer imports
	github.com/DataDog/datadog-go/v5/statsd tested by
	github.com/DataDog/datadog-go/v5/statsd.test imports
	github.com/stretchr/testify/mock imports
	github.com/stretchr/objx loaded from github.com/stretchr/objx@v0.2.0,
	but go 1.16 would select v0.4.0

To upgrade to the versions selected by go 1.16:
	go mod tidy -go=1.16 && go mod tidy -go=1.17
If reproducibility with go 1.16 is not needed:
	go mod tidy -compat=1.17
For other options, see:
	https://golang.org/doc/modules/pruning
```

This PR cleans up to get rid of the issues above.

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

* Update to use `go mod tidy -compat=1.17`, also changed to invoked daily

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2022-08-09 23:24:52 +03:00
dependabot[bot]
592fab7b7f build(deps): bump github.com/oschwald/geoip2-golang from 1.7.0 to 1.8.0 (#5560)
Bumps [github.com/oschwald/geoip2-golang](https://github.com/oschwald/geoip2-golang) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/oschwald/geoip2-golang/releases)
- [Commits](https://github.com/oschwald/geoip2-golang/compare/v1.7.0...v1.8.0)

---
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-08-08 08:21:34 -07:00
dependabot[bot]
d67f0e262d build(deps): bump github.com/aws/aws-sdk-go from 1.44.66 to 1.44.70 (#5559)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.66 to 1.44.70.
- [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.44.66...v1.44.70)

---
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-08-08 07:44:50 -07:00
dependabot[bot]
46983a21d7 build(deps): bump github.com/prometheus/client_golang (#5558)
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.12.2 to 1.13.0.
- [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.2...v1.13.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_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-08-08 07:44:39 -07:00
dependabot[bot]
b0f81798dd build(deps): bump google.golang.org/api from 0.90.0 to 0.91.0 (#5561)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.90.0 to 0.91.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.90.0...v0.91.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-08-08 07:44:19 -07:00
dependabot[bot]
72a6249b65 build(deps): bump github/codeql-action from 2.1.17 to 2.1.18 (#5562)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.17 to 2.1.18.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](0c670bbf04...2ca79b6fa8)

---
updated-dependencies:
- dependency-name: github/codeql-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>
2022-08-08 07:44:08 -07:00
Chris O'Haver
0188090ae9 add CNAME example to README (#5537)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2022-08-03 13:51:49 +03:00
dependabot[bot]
cdf17bcaf1 build(deps): bump google.golang.org/protobuf from 1.28.0 to 1.28.1 (#5551)
Bumps [google.golang.org/protobuf](https://github.com/protocolbuffers/protobuf-go) from 1.28.0 to 1.28.1.
- [Release notes](https://github.com/protocolbuffers/protobuf-go/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf-go/blob/master/release.bash)
- [Commits](https://github.com/protocolbuffers/protobuf-go/compare/v1.28.0...v1.28.1)

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  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-08-01 07:26:51 -07:00
dependabot[bot]
dc67d007ab build(deps): bump github.com/aws/aws-sdk-go from 1.44.61 to 1.44.66 (#5552)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.61 to 1.44.66.
- [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.44.61...v1.44.66)

---
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-08-01 07:25:05 -07:00
dependabot[bot]
27f5fd4af6 build(deps): bump google.golang.org/api from 0.88.0 to 0.90.0 (#5550)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.88.0 to 0.90.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.88.0...v0.90.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-08-01 07:24:48 -07:00
dependabot[bot]
cd4c45ca3e build(deps): bump github.com/Azure/go-autorest/autorest (#5549)
Bumps [github.com/Azure/go-autorest/autorest](https://github.com/Azure/go-autorest) from 0.11.27 to 0.11.28.
- [Release notes](https://github.com/Azure/go-autorest/releases)
- [Changelog](https://github.com/Azure/go-autorest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Azure/go-autorest/compare/autorest/v0.11.27...autorest/v0.11.28)

---
updated-dependencies:
- dependency-name: github.com/Azure/go-autorest/autorest
  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-08-01 07:24:36 -07:00
dependabot[bot]
b420a6aa4a build(deps): bump actions/stale from 5.1.0 to 5.1.1 (#5553)
Bumps [actions/stale](https://github.com/actions/stale) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](532554b8a8...9c1b1c6e11)

---
updated-dependencies:
- dependency-name: actions/stale
  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-08-01 07:24:22 -07:00
dependabot[bot]
7e579a1d54 build(deps): bump github/codeql-action from 2.1.16 to 2.1.17 (#5554)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.16 to 2.1.17.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](3e7e3b32d0...0c670bbf04)

---
updated-dependencies:
- dependency-name: github/codeql-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>
2022-08-01 07:24:10 -07:00
Chris O'Haver
95fcf2c480 plugin/cache: Add cache disable option (#5540)
* add cache disable options

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2022-07-28 10:51:08 -04:00
Ondřej Benkovský
2fe5273cd1 plugin/acl : add support for Extended DNS Errors (#5532)
* plugin/acl : add support for Extended DNS Errors

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

* fixup! plugin/acl : add support for Extended DNS Errors

Signed-off-by: Ondřej Benkovský <ondrej.benkovsky@jamf.com>
2022-07-25 07:44:13 -07:00
dependabot[bot]
50beb677ad build(deps): bump github.com/aws/aws-sdk-go from 1.44.51 to 1.44.61 (#5536) 2022-07-25 06:41:02 -07:00
dependabot[bot]
52b6bfe4e2 build(deps): bump k8s.io/client-go from 0.24.2 to 0.24.3 (#5535) 2022-07-25 06:40:46 -07:00
dependabot[bot]
ad4343c5b3 build(deps): bump google.golang.org/api from 0.87.0 to 0.88.0 (#5534) 2022-07-25 06:40:34 -07:00
Abirdcfly
1cb294dbf9 remove redundant continue in test (#5529)
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
2022-07-21 08:38:38 -04:00
dependabot[bot]
e3defbaa5f build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.39.1 to 1.40.1 (#5528)
Bumps [gopkg.in/DataDog/dd-trace-go.v1](https://github.com/DataDog/dd-trace-go) from 1.39.1 to 1.40.1.
- [Release notes](https://github.com/DataDog/dd-trace-go/releases)
- [Commits](https://github.com/DataDog/dd-trace-go/compare/v1.39.1...v1.40.1)

---
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-07-20 10:58:53 -04:00
dependabot[bot]
4ab9b207d2 build(deps): bump google.golang.org/grpc from 1.47.0 to 1.48.0 (#5517)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.47.0 to 1.48.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.47.0...v1.48.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-07-20 10:58:40 -04:00
Chris O'Haver
513f27b9a9 plugin/forward: Enable multiple forward declarations (#5127)
* enable multiple declarations of forward plugin

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2022-07-20 10:35:04 -04:00
Chris O'Haver
11059dd855 remove trailing empty lines per linter (#5526)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2022-07-19 15:26:17 -04:00
Shane Xie
edbe02c0f9 core: add log listeners for k8s_event plugin (#5451)
add log listener interface

Signed-off-by: xh4n3 <xyn1016@gmail.com>
2022-07-18 09:52:06 -04:00
Chris O'Haver
29f3dcfa10 plugin/ready: Reset list of readiness plugins on startup (#5492)
* reset readiness plugins list on startup

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2022-07-18 09:50:15 -04:00
dependabot[bot]
c1f1184eb3 build(deps): bump google.golang.org/api from 0.86.0 to 0.87.0 (#5518) 2022-07-18 06:34:30 -07:00
dependabot[bot]
c0287e5ce2 build(deps): bump github/codeql-action from 2.1.15 to 2.1.16 (#5521) 2022-07-18 06:33:52 -07:00
dependabot[bot]
3b163237b3 build(deps): bump actions/setup-go from 3 to 3.2.1 (#5522) 2022-07-18 06:33:45 -07:00
dependabot[bot]
b7d9189abe build(deps): bump actions/dependency-review-action from 2.0.2 to 2.0.4 (#5523) 2022-07-18 06:33:37 -07:00
dependabot[bot]
1afd766f54 build(deps): bump k8s.io/api from 0.24.2 to 0.24.3 (#5516) 2022-07-18 06:33:14 -07:00
dependabot[bot]
73764487f5 build(deps): bump github.com/prometheus/common from 0.35.0 to 0.37.0 (#5515) 2022-07-18 06:33:03 -07:00
dependabot[bot]
20892adfe0 build(deps): bump actions/stale from 5.0.0 to 5.1.0 (#5520) 2022-07-18 06:32:49 -07:00
Marius Kimmina
9ea4c09485 Add test for DNS over TLS (#5511) 2022-07-15 17:00:42 +02:00
dependabot[bot]
ddee42c974 build(deps): bump github.com/aws/aws-sdk-go from 1.44.47 to 1.44.51 (#5504) 2022-07-11 06:32:37 -07:00
dependabot[bot]
28d3218b92 build(deps): bump k8s.io/klog/v2 from 2.70.0 to 2.70.1 (#5502) 2022-07-11 06:25:13 -07:00
dependabot[bot]
f6dd7eb5c9 build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.39.0 to 1.39.1 (#5503) 2022-07-11 06:25:01 -07:00
coredns[bot]
0e4ca22f44 auto go fmt
Signed-off-by: coredns[bot] <bot@bot.coredns.io>
2022-07-11 10:31:48 +00:00
Ondřej Benkovský
c2dbb7141a add golangci-lint linter (#5499) 2022-07-10 11:06:33 -07:00
Ondřej Benkovský
abc5ac8017 plugin/trace : make zipkin HTTP reporter more configurable using Corefile (#5460)
* plugin/trace : make zipkin HTTP reporter more configurable using Corefile

Signed-off-by: Ondřej Benkovský <ondrej.benkovsky@jamf.com>
2022-07-08 07:20:19 -04:00
Chris O'Haver
83adb8fa22 plugin/file/cache: Add metadata for wildcard record responses (#5308)
For responses synthesized by known wildcard records, publish metadata containing the wildcard record name

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2022-07-07 17:07:04 -04:00
Chris O'Haver
e80d696502 plugin/k8s_external: Add support for PTR requests (#5435)
* Exclude External IP addresses from being added to the existing kubernetes' plugin IP->Service index
* Add support for PTR requests on External IPs of Services to the k8s_external plugin

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2022-07-06 13:55:15 -04:00
Chris O'Haver
d903a963ee dont lameduck when reloading (#5472)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2022-07-06 13:52:18 -04:00
Md Sahil
a6078ddba3 Warn when domain names are not in RFC1035 preferred syntax (#5414)
Warn when domain names are not in RFC1035 preferred syntax 

Signed-off-by: Md Sahil <Mohdssahil1@gmail.com>
2022-07-06 13:50:45 -04:00