Miek Gieben
76ffe2d4fd
revert
...
Signed-off-by: Miek Gieben <miek@miek.nl >
2021-10-11 12:45:10 +02:00
Miek Gieben
7a592ae60f
remove dnstest changes
...
Signed-off-by: Miek Gieben <miek@miek.nl >
2021-10-11 12:42:28 +02:00
Miek Gieben
f7a53029c9
imports
...
Signed-off-by: Miek Gieben <miek@miek.nl >
2021-10-11 12:40:26 +02:00
Miek Gieben
870a27a959
Merge branch 'metrics-plug' of github.com:coredns/coredns into metrics-plug
2021-10-11 12:38:01 +02:00
Miek Gieben
538132b8bb
Use [3]string
...
Signed-off-by: Miek Gieben <miek@miek.nl >
2021-10-11 12:37:52 +02:00
Miek Gieben
b041e20d23
Update core/dnsserver/server.go
...
Co-authored-by: dilyevsky <ilyevsky@gmail.com >
2021-10-11 12:37:23 +02:00
Miek Gieben
776713e486
Merge branch 'metrics-plug' of github.com:coredns/coredns into metrics-plug
2021-10-11 12:33:30 +02:00
Miek Gieben
ffebb46b38
Metrics: expand coredns_dns_responses_total with plugin label
...
This adds (somewhat hacky?) code to add a plugin label to the
coredns_dns_responses_total metric. It's completely obvlious to the
plugin as we just check who called the *recorder.WriteMsg method. We use
runtime.Caller( 1 2 3) to get multiple levels of callers, this should be
deep enough, but it depends on the dns.ResponseWriter wrapping that's
occuring.
README.md of metrics updates and test added in test/metrics_test.go to
check for the label being set.
I went through the plugin to see what metrics could be removed, but
actually didn't find any, the plugin push out metrics that make sense.
Due to the path fiddling to figure out the plugin name I doubt this
works (out-of-the-box) for external plugins, but I haven't tested that.
Signed-off-by: Miek Gieben <miek@miek.nl >
2021-10-08 19:55:59 +02:00
Miek Gieben
c4d0c3f508
better comment
...
Signed-off-by: Miek Gieben <miek@miek.nl >
2021-10-08 16:05:53 +02:00
Miek Gieben
a2770e031f
Metrics: expand coredns_dns_responses_total with plugin label
...
This adds (somewhat hacky?) code to add a plugin label to the
coredns_dns_responses_total metric. It's completely obvlious to the
plugin as we just check who called the *recorder.WriteMsg method. We use
runtime.Caller( 1 2 3) to get multiple levels of callers, this should be
deep enough, but it depends on the dns.ResponseWriter wrapping that's
occuring.
README.md of metrics updates and test added in test/metrics_test.go to
check for the label being set.
I went through the plugin to see what metrics could be removed, but
actually didn't find any, the plugin push out metrics that make sense.
Due to the path fiddling to figure out the plugin name I doubt this
works (out-of-the-box) for external plugins, but I haven't tested that.
Signed-off-by: Miek Gieben <miek@miek.nl >
2021-10-08 15:34:43 +02:00
Chris O'Haver
d95a82350b
Revert "fix: specifiy platform in docker build command ( #4897 )" ( #4910 )
...
This reverts commit 4e80ac5b28 .
2021-10-07 09:14:45 -04:00
Yong Tang
13a9191efb
Update 1.8.6 release note and prepare for release ( #4909 )
...
Signed-off-by: Yong Tang <yong.tang.github@outlook.com >
v1.8.6
2021-10-06 20:04:34 -04:00
Chris O'Haver
31c5532380
bump version ( #4895 )
...
Signed-off-by: Chris O'Haver <cohaver@infoblox.com >
2021-10-06 16:54:34 -07:00
Chris O'Haver
5534625c75
plugin/kubernetes: Don't use pod names longer than 63 characters as dns labels ( #4908 )
...
Automatically submitted.
2021-10-06 15:59:37 +00:00
dependabot[bot]
c6bcc8f2ff
build(deps): bump google.golang.org/api from 0.57.0 to 0.58.0 ( #4905 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.57.0 to 0.58.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/master/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.57.0...v0.58.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>
2021-10-04 07:55:02 -07:00
dependabot[bot]
a34c5bdc4c
build(deps): bump github.com/aws/aws-sdk-go from 1.40.49 to 1.40.54 ( #4904 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.40.49 to 1.40.54.
- [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.40.49...v1.40.54 )
---
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-10-04 07:54:49 -07:00
dependabot[bot]
5599e2d161
build(deps): bump github.com/prometheus/common from 0.31.0 to 0.31.1 ( #4903 )
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.31.0 to 0.31.1.
- [Release notes](https://github.com/prometheus/common/releases )
- [Commits](https://github.com/prometheus/common/compare/v0.31.0...v0.31.1 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/common
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-10-04 07:22:31 -07:00
Ernest Wong
4e80ac5b28
fix: specifiy platform in docker build command ( #4897 )
...
Automatically submitted.
2021-10-01 15:18:33 +00:00
vanou
4f55502c9d
Fix broken URL link in 1.8.0 release note ( #4875 )
...
This PR fixes broken URL link to plugins/dnstap in release note.
Signed-off-by: Vanou Ishii <ishii.vanou@fujitsu.com >
2021-09-29 23:20:01 -04:00
dependabot[bot]
aaa0456f4e
build(deps): bump github.com/aws/aws-sdk-go from 1.40.45 to 1.40.49 ( #4888 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.40.45 to 1.40.49.
- [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.40.45...v1.40.49 )
---
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-09-27 07:03:45 -07:00
dependabot[bot]
75656c39f0
build(deps): bump github.com/prometheus/common from 0.30.0 to 0.31.0 ( #4890 )
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.30.0 to 0.31.0.
- [Release notes](https://github.com/prometheus/common/releases )
- [Commits](https://github.com/prometheus/common/compare/v0.30.0...v0.31.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/common
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-09-27 07:03:33 -07:00
dependabot[bot]
55e36bfa32
build(deps): bump google.golang.org/grpc from 1.40.0 to 1.41.0 ( #4889 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.40.0 to 1.41.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.40.0...v1.41.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>
2021-09-27 07:03:19 -07:00
Gabi Davar
46fa2a64cc
Update badges, remove fuzzit leftovers. ( #4886 )
2021-09-25 12:28:03 -07:00
Chris O'Haver
bbd317cb22
initial 1.8.6 notes ( #4884 )
...
Signed-off-by: Chris O'Haver <cohaver@infoblox.com >
2021-09-24 08:57:37 -07:00
Chris O'Haver
39ec6be5ce
bump kind ( #4882 )
...
Signed-off-by: Chris O'Haver <cohaver@infoblox.com >
2021-09-22 15:10:48 -04:00
Chris O'Haver
e742b5ee34
plugin/kubernetes: fix reload panic ( #4881 )
...
* fix reload panic
Signed-off-by: Chris O'Haver <cohaver@infoblox.com >
* add comment
Signed-off-by: Chris O'Haver <cohaver@infoblox.com >
* o import ordering
Signed-off-by: Chris O'Haver <cohaver@infoblox.com >
2021-09-22 16:28:51 +02:00
dependabot[bot]
8ddb6313bb
build(deps): bump google.golang.org/api from 0.56.0 to 0.57.0 ( #4874 )
v1.8.5
2021-09-20 10:06:37 -07:00
dependabot[bot]
fbe52a8dac
build(deps): bump github.com/aws/aws-sdk-go from 1.40.41 to 1.40.45 ( #4872 )
2021-09-20 10:06:09 -07:00
dependabot[bot]
67b941e9b1
build(deps): bump k8s.io/client-go from 0.22.1 to 0.22.2 ( #4873 )
...
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go ) from 0.22.1 to 0.22.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.22.1...v0.22.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>
2021-09-20 09:33:33 -04:00
Chris O'Haver
982daa045b
Makefile.docker: Fix example ( #4868 )
...
fix make example, remove stray comments
Signed-off-by: Chris O'Haver <cohaver@infoblox.com >
2021-09-16 15:51:51 -04:00
Miek Gieben
6496b19ea4
docker: test makefile and Dockerfile change ( #4866 )
...
The fix in 4b9bc138d9 breaks docker with
~~~
Step 2/9 : RUN sed -i.bak s@stable/update@stable-security/update@g /etc/apt/sources.list
---> Running in 29a0dbae5746
no status provided on response: unknown
~~~
So reverted here. This adds github workflows to test Makefile.docker
syntax as well. And small updates to the docker-coredns over in the
release repo.
Signed-off-by: Miek Gieben <miek@miek.nl >
2021-09-16 15:51:10 -04:00
Olivier Lemasle
033c341517
Makefile: add go get to install external plugins ( #4846 )
...
Fixes #4845
Signed-off-by: Olivier Lemasle <o.lemasle@gmail.com >
2021-09-14 11:35:33 -06:00
Chris O'Haver
27d90d3809
update comments to match new targets ( #4867 )
...
Signed-off-by: Chris O'Haver <cohaver@infoblox.com >
2021-09-14 15:31:16 +02:00
Chris O'Haver
d5f84c50a7
print docker component versions ( #4865 )
...
Signed-off-by: Chris O'Haver <cohaver@infoblox.com >
2021-09-14 14:34:04 +02:00
Miek Gieben
f48cce67b2
add docker in Makefile.docker ( #4864 )
...
This adds the (older) docker stuff back in a new Makefile.docker. Add
.dreck alias to be able to release the docker stuff via a github issue.
See #4858
Signed-off-by: Miek Gieben <miek@miek.nl >
2021-09-14 13:54:22 +02:00
Chris O'Haver
158ad2d738
plugin/file/auto: Write CNAME answer to client even if target lookup is SERVFAIL ( #4863 )
...
* write cname answer to client even if target lookup is servfail
Signed-off-by: Chris O'Haver <cohaver@infoblox.com >
* fix existing unit test expectations
Signed-off-by: Chris O'Haver <cohaver@infoblox.com >
2021-09-14 10:08:22 +02:00
dependabot[bot]
8f7162c42b
build(deps): bump github.com/aws/aws-sdk-go from 1.40.37 to 1.40.41 ( #4862 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.40.37 to 1.40.41.
- [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.40.37...v1.40.41 )
---
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-09-13 07:15:36 -07:00
dependabot[bot]
3902bd0e95
build(deps): bump github.com/Azure/go-autorest/autorest ( #4861 )
...
Bumps [github.com/Azure/go-autorest/autorest](https://github.com/Azure/go-autorest ) from 0.11.20 to 0.11.21.
- [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/v0.11.20...autorest/v0.11.21 )
---
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>
2021-09-13 07:15:22 -07:00
dependabot[bot]
9a3e4f6685
build(deps): bump codecov/codecov-action from 2.0.3 to 2.1.0 ( #4860 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 2.0.3 to 2.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v2.0.3...v2.1.0 )
---
updated-dependencies:
- dependency-name: codecov/codecov-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>
2021-09-13 07:15:08 -07:00
Miek Gieben
df92e8a8ca
Spun out docker ( #4859 )
...
* Spun out docker
Remove docker from Makefile.release so we can actually release.
Unify the mips stuff, now that docker is gone.
Update the docs to reflect this.
See #4858
Signed-off-by: Miek Gieben <miek@miek.nl >
* Update test as well
Signed-off-by: Miek Gieben <miek@miek.nl >
2021-09-13 14:47:46 +02:00
Chris O'Haver
75d5da5228
1.8.5 release note for cache miss metric deprecation ( #4857 )
...
* Note cache miss metric deprecation
* Update notes/coredns-1.8.5.md
Co-authored-by: Miek Gieben <miek@miek.nl >
Co-authored-by: Miek Gieben <miek@miek.nl >
2021-09-10 08:18:14 -07:00
Yong Tang
6196125c21
Update version string to 1.8.5 ( #4855 )
...
Signed-off-by: Yong Tang <yong.tang.github@outlook.com >
2021-09-09 16:21:24 -04:00
Yong Tang
ca887c02a5
Update release note for 1.8.5 ( #4854 )
...
Signed-off-by: Yong Tang <yong.tang.github@outlook.com >
2021-09-09 12:18:30 -07:00
Yong Tang
8016f62771
Update golang version to 1.17 ( #4852 )
...
* Update golang version to 1.17
This PR updates golang version to 1.17 when applicable.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com >
* Remove `^` to avoid cache
This commit removes `^` to avoid cache in build system
Signed-off-by: Yong Tang <yong.tang.github@outlook.com >
* Change to 1.17.0
Signed-off-by: Yong Tang <yong.tang.github@outlook.com >
2021-09-08 05:23:14 -07:00
Kohei Yoshida
5f6baf2973
plugin/file: fix wildcard CNAME answer ( #4828 )
...
* plugin/file: fix wildcard CNAME answer
Signed-off-by: Yoshida <ykhr53@yokohei.com >
* plugin/file: fix synthesized CNAME answer
Signed-off-by: Yoshida <ykhr53@yokohei.com >
2021-09-07 12:21:11 -07:00
dependabot[bot]
4b0e6a173c
build(deps): bump k8s.io/klog/v2 from 2.10.0 to 2.20.0 ( #4847 )
2021-09-06 07:35:55 -07:00
dependabot[bot]
739b242aea
build(deps): bump google.golang.org/api from 0.54.0 to 0.56.0 ( #4848 )
2021-09-06 07:35:35 -07:00
dependabot[bot]
09b47a50d1
build(deps): bump github.com/aws/aws-sdk-go from 1.40.32 to 1.40.37 ( #4849 )
2021-09-06 07:35:13 -07:00
rouzier
a644eb4472
The IPv4 parser no longer accepts leading zeros ( #4844 )
...
Signed-off-by: James Rouzier <rouzier@gmail.com >
2021-09-04 08:34:57 +02:00
Chris O'Haver
9b3b2679f5
restore 1.8.3 question revert logic; add tests ( #4840 )
...
Signed-off-by: Chris O'Haver <cohaver@infoblox.com >
2021-08-31 10:34:26 +02:00