Commit graph

2870 commits

Author SHA1 Message Date
Miek Gieben
975305732e
backend: fix root zone usage (#4039)
properly concatenate labels by using dnsutil.Join instead of '+'

Fixes: #3316

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-07-31 10:58:09 +02:00
Yong Tang
f23171af5f
Fix wildcard records issue in rout53 plugin (#4038)
* Fix wildcard records issue in rout53 plugin

This PR tries to address 4035 where wild card records does not return
correctly in route53 plugin. The issue was that `strings.Index(s, substr string)`
expect substr to be a string but the code defines as char.

This PR fixes 4035.

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

* Fix failed tests

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2020-07-31 07:51:14 +02:00
Miek Gieben
ec906fe37f
1.7.x note fixes (#4033)
Fix 1.7.0 layout for on coredns.io (newline before list). Add more text
to 1.7.1 and mark as draft.

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-07-28 19:21:58 -07:00
Chris O'Haver
118b4fa4c9
Update coredns-1.6.9.md (#4031) 2020-07-28 12:05:51 -04:00
Chris O'Haver
05a0eff293
Update coredns-1.7.0.md (#4030) 2020-07-28 11:08:48 -04:00
coredns-auto-go-mod-tidy[bot]
679e8dc834 auto go mod tidy 2020-07-27 13:51:27 +00:00
dependabot-preview[bot]
717851e143
build(deps): bump github.com/aws/aws-sdk-go from 1.33.7 to 1.33.12 (#4027)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.33.7 to 1.33.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.33.7...v1.33.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-07-27 06:50:49 -07:00
Miek Gieben
49337b7d38
Add initial notes for 1.7.1 (#4026)
Start documenting the changes early.

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-07-25 08:10:03 -07:00
coredns-auto-go-mod-tidy[bot]
df4e9be8fc auto go mod tidy 2020-07-25 15:07:10 +00:00
Zou Nengren
4166dcc2fe
using promauto package to ensure all created metrics are properly registered (#4025)
Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>
2020-07-25 08:06:28 -07:00
Chris O'Haver
05751bdb59
register HealthcheckBrokenCount (#4021)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2020-07-24 08:28:18 -04:00
coredns-auto-go-mod-tidy[bot]
5b09d62f86 auto make -f Makefile.doc 2020-07-23 07:40:36 +00:00
Oleg Atamanenko
c86be3428a
Disable debug mode for tracing - removes extra logging (#4016)
Signed-off-by: Oleg Atamanenko <oleg.atamanenko@gmail.com>
2020-07-23 09:40:17 +02:00
Zou Nengren
8c6d016ad6
ignore vendor when presubmit test (#3999)
Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>
2020-07-21 10:23:52 +02:00
Ben Ye
7f0ad57635
fix metric naming test (#4017)
Signed-off-by: Ben Ye <yb532204897@gmail.com>
2020-07-21 10:15:55 +02:00
Yong Tang
0c9e2e280c
Manually update client-go to v0.18.6 (#4015)
This PR manually update  client-go to v0.18.6 as dependabot
had trouble and was stuck in PR #4010 and #4013.

This PR closes #4010
This PR closes #4013

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2020-07-21 10:15:37 +02:00
coredns-auto-go-mod-tidy[bot]
7269565aad auto go mod tidy 2020-07-20 14:36:04 +00:00
dependabot-preview[bot]
b1232ed031
build(deps): bump github.com/aws/aws-sdk-go from 1.33.5 to 1.33.7 (#4011)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.33.5 to 1.33.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.33.5...v1.33.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-07-20 07:34:58 -07:00
dependabot-preview[bot]
2dbaf206e8
build(deps): bump k8s.io/apimachinery from 0.18.5 to 0.18.6 (#4012)
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) from 0.18.5 to 0.18.6.
- [Release notes](https://github.com/kubernetes/apimachinery/releases)
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.18.5...v0.18.6)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-20 07:34:44 -07:00
Ricardo Katz
3ebb46320a
Improve gRPC Plugin when backend is not available (#3966)
* Improve gRPC Plugin when backend is not available

Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@serpro.gov.br>

* Improve gRPC Plugin when backend is not available

Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@serpro.gov.br>
2020-07-15 19:59:45 +02:00
Olivier Lemasle
d371738149
Add DCO requirement in Contributing guidelines (#4008)
Signed-off-by: Olivier Lemasle <o.lemasle@gmail.com>
2020-07-14 18:38:57 +02:00
coredns-auto-go-mod-tidy[bot]
2d5f12d442 auto go mod tidy 2020-07-13 15:28:16 +00:00
dependabot-preview[bot]
f2cd40f8ad
build(deps): bump github.com/miekg/dns from 1.1.29 to 1.1.30 (#4004)
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.29 to 1.1.30.
- [Release notes](https://github.com/miekg/dns/releases)
- [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release)
- [Commits](https://github.com/miekg/dns/compare/v1.1.29...v1.1.30)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-13 08:27:38 -07:00
dependabot-preview[bot]
5e2195fc62
build(deps): bump github.com/aws/aws-sdk-go from 1.33.1 to 1.33.5 (#4003)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.33.1 to 1.33.5.
- [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.33.1...v1.33.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-07-13 08:27:22 -07:00
dependabot-preview[bot]
5af99cde79
build(deps): bump github.com/Azure/go-autorest/autorest (#4002)
Bumps [github.com/Azure/go-autorest/autorest](https://github.com/Azure/go-autorest) from 0.11.0 to 0.11.2.
- [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.0...autorest/v0.11.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-07-13 08:27:08 -07:00
dependabot-preview[bot]
0347e3d865
build(deps): bump google.golang.org/api from 0.28.0 to 0.29.0 (#4001)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.28.0 to 0.29.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.28.0...v0.29.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-07-13 08:26:57 -07:00
Zou Nengren
20c4f28a5c
remove TestProxyClose (#4005)
Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>
2020-07-13 08:26:43 -07:00
Cricket Liu
fc054620af
Minor grammatical fixes to release notes (#3998)
Signed-off-by: Cricket Liu <cricket@infoblox.com>
2020-07-10 17:04:00 -07:00
Yong Tang
614d08cba2
Revert "Implement notifies for transfer plugin (#3972)" (#3995)
This reverts commit 68f1dd5ddf.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2020-07-08 09:00:26 -07:00
Miek Gieben
68f1dd5ddf
Implement notifies for transfer plugin (#3972)
* Fix notifies in transfer plugin

Signed-off-by: Miek Gieben <miek@miek.nl>

* Make it compile

Signed-off-by: Miek Gieben <miek@miek.nl>

* Port more plugins

Signed-off-by: Miek Gieben <miek@miek.nl>

* golint

Signed-off-by: Miek Gieben <miek@miek.nl>

* Fix tests

Signed-off-by: Miek Gieben <miek@miek.nl>

* Fix notifies in transfer plugin

Signed-off-by: Miek Gieben <miek@miek.nl>

* Make it compile

Signed-off-by: Miek Gieben <miek@miek.nl>

* Port more plugins

Signed-off-by: Miek Gieben <miek@miek.nl>

* golint

Signed-off-by: Miek Gieben <miek@miek.nl>

* Fix tests

Signed-off-by: Miek Gieben <miek@miek.nl>

* Fix tests

Signed-off-by: Miek Gieben <miek@miek.nl>

* really fix test

Signed-off-by: Miek Gieben <miek@miek.nl>

* Implement ixfr fallback and unify file and auto for transfering

Signed-off-by: Miek Gieben <miek@miek.nl>

* Add transfer tests

copied and modified from #3452

Signed-off-by: Miek Gieben <miek@miek.nl>

* Test correct selection of plugin

Signed-off-by: Miek Gieben <miek@miek.nl>

* add upstream back in

Signed-off-by: Miek Gieben <miek@miek.nl>

* Implement ixfr fallback and unify file and auto for transfering

Signed-off-by: Miek Gieben <miek@miek.nl>

* fix test

Signed-off-by: Miek Gieben <miek@miek.nl>

* properly merge

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-07-07 12:38:07 -07:00
coredns-auto-go-mod-tidy[bot]
435d27b58d auto go mod tidy 2020-07-06 14:47:28 +00:00
dependabot-preview[bot]
92fe8a5050
build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.24.1 to 1.25.0 (#3991)
Bumps [gopkg.in/DataDog/dd-trace-go.v1](https://github.com/DataDog/dd-trace-go) from 1.24.1 to 1.25.0.
- [Release notes](https://github.com/DataDog/dd-trace-go/releases)
- [Commits](https://github.com/DataDog/dd-trace-go/compare/v1.24.1...v1.25.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-07-06 07:46:49 -07:00
dependabot-preview[bot]
5e1c9ff90d
build(deps): bump github.com/opentracing/opentracing-go (#3990)
Bumps [github.com/opentracing/opentracing-go](https://github.com/opentracing/opentracing-go) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/opentracing/opentracing-go/releases)
- [Changelog](https://github.com/opentracing/opentracing-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/opentracing/opentracing-go/compare/v1.1.0...v1.2.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-07-06 07:46:33 -07:00
dependabot-preview[bot]
29f290b916
build(deps): bump github.com/aws/aws-sdk-go from 1.32.11 to 1.33.1 (#3992)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.32.11 to 1.33.1.
- [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.32.11...v1.33.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-07-06 07:46:21 -07:00
milgradesec
418c24c062
Add timeouts for http server (#3920)
Signed-off-by: milgradesec <milgradesec@gmail.com>
2020-07-02 16:07:29 +02:00
Li Zhijian
011686b344
Cleanup tempfiles (#3986)
* cleanup tempfiles for auto_test

Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>

* cleanup tempfiles for metrics_test

Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
2020-07-02 09:10:36 +02:00
Zou Nengren
41f9142dd2
complete nsid plugin test case (#3981)
Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>
2020-07-01 10:17:26 +02:00
Zou Nengren
5437370734
complete transfer plugin test case (#3967)
Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>
2020-06-29 12:02:56 -07:00
coredns-auto-go-mod-tidy[bot]
877ea3e203 auto go mod tidy 2020-06-29 18:45:28 +00:00
dependabot-preview[bot]
d7199a3d98
build(deps): bump k8s.io/client-go from 0.18.4 to 0.18.5 (#3975)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.18.4 to 0.18.5.
- [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.18.4...v0.18.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-06-29 11:44:55 -07:00
coredns-auto-go-mod-tidy[bot]
abbc8f0f70 auto go mod tidy 2020-06-29 17:36:18 +00:00
dependabot-preview[bot]
d2586b6d57
build(deps): bump github.com/aws/aws-sdk-go from 1.32.6 to 1.32.11 (#3976)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.32.6 to 1.32.11.
- [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.32.6...v1.32.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-06-29 10:35:30 -07:00
coredns-auto-go-mod-tidy[bot]
c298b7e092 auto go mod tidy 2020-06-29 17:35:00 +00:00
dependabot-preview[bot]
df67ba15ec
build(deps): bump github.com/prometheus/client_golang (#3979)
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.7.0 to 1.7.1.
- [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.7.0...v1.7.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-06-29 10:34:27 -07:00
dependabot-preview[bot]
3ee7fc5ab7
build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth (#3980)
Bumps [github.com/Azure/go-autorest/autorest/azure/auth](https://github.com/Azure/go-autorest) from 0.4.2 to 0.5.0.
- [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.4.2...tracing/v0.5.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-06-29 10:33:48 -07:00
coredns-auto-go-mod-tidy[bot]
08988c1002 auto go mod tidy 2020-06-29 15:49:27 +00:00
dependabot-preview[bot]
0c9b59b388
build(deps): bump k8s.io/apimachinery from 0.18.4 to 0.18.5 (#3978)
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) from 0.18.4 to 0.18.5.
- [Release notes](https://github.com/kubernetes/apimachinery/releases)
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.18.4...v0.18.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-06-29 08:48:52 -07:00
Chris O'Haver
47d6e86f58
plugin/cache/forward: Clean up grammar/wording in forward & cache metrics descriptions. (#3971)
* tweak language

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

* tweak language

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

* typo

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2020-06-24 07:49:42 -07:00
Miek Gieben
55e9c2cd7b
plugin/forward: remove exp backoff stuff (#3970)
we hc every 0.5s, doing exp backoff will create a large gap in the
ability to re-use an upstream. Doing a exp. backoff up to (say) 3s,
isn't really exp backoff either.

Remove the wording from the documentation.

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-06-24 07:49:06 -07:00
Zou Nengren
8647592786
format and add newline (#3969)
Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>
2020-06-24 07:48:39 -07:00