Commit graph

2870 commits

Author SHA1 Message Date
coredns-auto-go-mod-tidy[bot]
302434e392 auto go mod tidy 2020-12-21 10:14:52 +00:00
dependabot-preview[bot]
30082669e3
build(deps): bump k8s.io/client-go from 0.20.0 to 0.20.1 (#4347)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.20.0 to 0.20.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.20.0...v0.20.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-21 02:14:16 -08:00
coredns-auto-go-mod-tidy[bot]
f7be3b04f9 auto go mod tidy 2020-12-21 10:13:47 +00:00
dependabot-preview[bot]
14ff2c4c2a
build(deps): bump github.com/prometheus/client_golang (#4349)
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.8.0...v1.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-21 02:13:11 -08:00
coredns-auto-go-mod-tidy[bot]
71b393905e auto go mod tidy 2020-12-21 10:12:50 +00:00
dependabot-preview[bot]
0bf7bc0e83
build(deps): bump github.com/aws/aws-sdk-go from 1.36.7 to 1.36.12 (#4346)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.36.7 to 1.36.12.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.36.7...v1.36.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-21 02:12:09 -08:00
coredns-auto-go-mod-tidy[bot]
44474e48ff auto go mod tidy 2020-12-21 10:11:04 +00:00
dependabot-preview[bot]
8d58632837
build(deps): bump github.com/Azure/go-autorest/autorest (#4345)
Bumps [github.com/Azure/go-autorest/autorest](https://github.com/Azure/go-autorest) from 0.11.13 to 0.11.15.
- [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.13...autorest/v0.11.15)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-21 02:10:26 -08:00
Jiang Biao
fc955fd166
[feat]:update the kubernets.go fix npe (#4338)
Signed-off-by: Biao Jiang <standup-jb@github.com>

Co-authored-by: biao.jiang@ximalaya.com <biao.jiang@ximalaya.com>
2020-12-16 12:31:34 +01:00
Johnny Bergström
be955daa37
custom DoH request validation (#4329)
* custom DoH request validation

Signed-off-by: Johnny Bergström <johnny@klaudify.se>

* add comment and test

Signed-off-by: Johnny Bergström <johnny@klaudify.se>

* NewServerHTTPS comment typo

Signed-off-by: Johnny Bergström <johnny@klaudify.se>
2020-12-15 14:26:07 +01:00
coredns-auto-go-mod-tidy[bot]
6af47bac39 auto make -f Makefile.doc 2020-12-15 13:02:37 +00:00
Chris O'Haver
9cb53487ec
respond with REFUSED when max_concurrent is exceeded to avoid caching it (#4326)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2020-12-15 14:02:15 +01:00
coredns-auto-go-mod-tidy[bot]
45bf23f145 auto go mod tidy 2020-12-14 16:02:36 +00:00
dependabot-preview[bot]
ef59a7fb0b
build(deps): bump k8s.io/client-go from 0.19.4 to 0.20.0 (#4334)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.19.4 to 0.20.0.
- [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.19.4...v0.20.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-14 08:01:55 -08:00
coredns-auto-go-mod-tidy[bot]
6511872ca0 auto go mod tidy 2020-12-14 15:10:29 +00:00
dependabot-preview[bot]
53a7ca084b
build(deps): bump github.com/aws/aws-sdk-go from 1.36.2 to 1.36.7 (#4337)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.36.2 to 1.36.7.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.36.2...v1.36.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-14 07:09:50 -08:00
coredns-auto-go-mod-tidy[bot]
35c0f39f2e auto go mod tidy 2020-12-14 14:47:18 +00:00
dependabot-preview[bot]
1a26109379
build(deps): bump k8s.io/apimachinery from 0.19.4 to 0.20.0 (#4335)
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) from 0.19.4 to 0.20.0.
- [Release notes](https://github.com/kubernetes/apimachinery/releases)
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.19.4...v0.20.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-14 06:46:40 -08:00
Chotiwat Chawannakul
aac422ff0f
Update README.md (#4331)
Automatically submitted.
2020-12-11 21:07:25 +00:00
Miek Gieben
108d26ebea
Move .LocalAddr() out of goroutine (#4281)
I don't have theory why this panics, but concurrency has something to do
with it, so get the address before we call the goroutine.

See #4271

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-12-11 08:49:47 -08:00
Yong Tang
9db3a2a72e
Remove unneeded test/go-test-tmpfile565156097 (#4330)
This PR removes  test/go-test-tmpfile565156097 from commit 6bbb48d.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2020-12-11 08:22:56 -05:00
Chris O'Haver
6bbb48d403
plugin/file: Use NXDOMAIN response if CNAME target is NXDOMAIN (#4303)
* pass through nxdomain results

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

* return srvfail and nodata results

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

* add test

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

* cover more response cases

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2020-12-09 09:44:31 +01:00
coredns-auto-go-mod-tidy[bot]
5ecf23ae7b auto go mod tidy 2020-12-07 21:53:01 +00:00
dependabot-preview[bot]
fff33b6d1f
build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#4318)
Bumps [github.com/Azure/go-autorest/autorest/azure/auth](https://github.com/Azure/go-autorest) from 0.5.3 to 0.5.5.
- [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.3...autorest/azure/auth/v0.5.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-07 13:52:22 -08:00
coredns-auto-go-mod-tidy[bot]
00c4892b4a auto go mod tidy 2020-12-07 16:18:50 +00:00
dependabot-preview[bot]
f36e5f7daa
build(deps): bump github.com/Azure/go-autorest/autorest (#4316)
Bumps [github.com/Azure/go-autorest/autorest](https://github.com/Azure/go-autorest) from 0.11.12 to 0.11.13.
- [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.12...autorest/v0.11.13)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-07 08:18:13 -08:00
coredns-auto-go-mod-tidy[bot]
8893730d4a auto go mod tidy 2020-12-07 15:34:13 +00:00
dependabot-preview[bot]
1a523bbb42
build(deps): bump github.com/aws/aws-sdk-go from 1.35.35 to 1.36.2 (#4320)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.35 to 1.36.2.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.35...v1.36.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-07 07:33:34 -08:00
coredns-auto-go-mod-tidy[bot]
cad7a3d593 auto go mod tidy 2020-12-07 14:59:41 +00:00
dependabot-preview[bot]
9efd209b78
build(deps): bump github.com/dnstap/golang-dnstap from 0.2.2 to 0.3.0 (#4321)
Bumps [github.com/dnstap/golang-dnstap](https://github.com/dnstap/golang-dnstap) from 0.2.2 to 0.3.0.
- [Release notes](https://github.com/dnstap/golang-dnstap/releases)
- [Commits](https://github.com/dnstap/golang-dnstap/compare/v0.2.2...v0.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-07 06:59:00 -08:00
coredns-auto-go-mod-tidy[bot]
f0e61adf4a auto go mod tidy 2020-12-01 21:37:30 +00:00
dependabot-preview[bot]
d57014ebad
build(deps): bump github.com/aws/aws-sdk-go from 1.35.33 to 1.35.35 (#4313)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.33 to 1.35.35.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.33...v1.35.35)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-01 13:36:48 -08:00
Chris O'Haver
9121e78496
plugin/kubernetes: Fix dns programming duration metric (#4255)
* get data reqd to record latency before calling toFuncs
* refactor out unnecessary toFunc wrappers
* remove latency metric unit tests per PR feedback

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2020-12-01 15:29:05 -05:00
coredns-auto-go-mod-tidy[bot]
56eea6e609 auto go mod tidy 2020-11-23 16:52:49 +00:00
dependabot-preview[bot]
1dc41abd44
build(deps): bump github.com/Azure/go-autorest/autorest (#4304)
Bumps [github.com/Azure/go-autorest/autorest](https://github.com/Azure/go-autorest) from 0.11.11 to 0.11.12.
- [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.11...autorest/v0.11.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-23 08:52:11 -08:00
dependabot-preview[bot]
10714bdbbc
build(deps): bump github.com/aws/aws-sdk-go from 1.35.28 to 1.35.33 (#4305)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.28 to 1.35.33.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.28...v1.35.33)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-23 08:51:52 -08:00
Yong Tang
619a0aedc0
Switch from actions/setup-go@v2-beta to actions/setup-go@v2 to fix the GitHub Actions set-env failure (#4302)
This PR switches from actions/setup-go@v2-beta to actions/setup-go@v2 to fix the
GitHub Actions `set-env` failure. Without this PR the following error shown up
(see https://github.com/coredns/coredns/runs/1423802307):
```
Error: Unable to process command '::set-env name=GOROOT::/opt/hostedtoolcache/go/1.15.5/x64' successfully.
7
Error: The `set-env` command is disabled. Please upgrade to using Environment Files or opt into unsecure command execution by setting the `ACTIONS_ALLOW_UNSECURE_COMMANDS` environment variable to `true`. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
```

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2020-11-19 15:40:41 -05:00
Miek Gieben
99f79817ac
plugin/trace: cleanup README.md (#4280)
Various improvements to the documentation. Started because `⚠️`
isn't a markdown feature (replace with Note:).

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-11-19 12:19:50 +01:00
coredns-auto-go-mod-tidy[bot]
839c264a2b auto go mod tidy 2020-11-16 14:56:10 +00:00
dependabot-preview[bot]
56174636e7
build(deps): bump github.com/Azure/go-autorest/autorest (#4291)
Bumps [github.com/Azure/go-autorest/autorest](https://github.com/Azure/go-autorest) from 0.11.10 to 0.11.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/v0.11.10...autorest/v0.11.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-16 06:55:34 -08:00
coredns-auto-go-mod-tidy[bot]
803b5e767f auto go mod tidy 2020-11-16 14:03:49 +00:00
dependabot-preview[bot]
eea90ca665
build(deps): bump k8s.io/client-go from 0.19.2 to 0.19.4 (#4292)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.19.2 to 0.19.4.
- [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.19.2...v0.19.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-16 06:03:06 -08:00
coredns-auto-go-mod-tidy[bot]
3e70e9e946 auto go mod tidy 2020-11-16 14:02:43 +00:00
dependabot-preview[bot]
9e92a716ea
build(deps): bump github.com/aws/aws-sdk-go from 1.35.23 to 1.35.28 (#4296)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.23 to 1.35.28.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.23...v1.35.28)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-16 06:02:02 -08:00
Blake Ryan
c9c71d3904
plugin/azure return FQDN as MNAME in SOA record (#4286)
Automatically submitted.
2020-11-12 14:48:03 +00:00
Miek Gieben
2299c5b696
Add make notes target (#4276)
Automatically submitted.
2020-11-11 18:00:28 +00:00
Miek Gieben
9178f9d1ee
Remove newlines between braces (#4279)
These are found with: `pcregrep -M "}\n\n}" **/*.go`
Sometimes a unneeded newline is inserted, remove those.

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-11-11 18:45:01 +01:00
coredns-auto-go-fmt[bot]
4b87be2a0e auto go fmt 2020-11-11 12:30:39 +00:00
Miek Gieben
32e1d5d07f
auto test: increase sleep (#4282)
Doing a reload every 10ms and sleeping 10ms makes this too racy,
increase all those sleeps to 5ms. A better method would be to get
notified of the reload/change, this would require some polling to get
the RR we expect, with a much longer timeout to stop the test
eventually.

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-11-11 13:30:20 +01:00
Yong Tang
2845eaa916
Fix missing * in Go Fmt GitHub Actions (#4277)
Looks like one `*` is missing in Go Fmt GitHub Actions
and that causes the Actions not being triggered.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2020-11-11 07:43:46 +01:00