Chris O'Haver
042e57a177
fix lameduck docs ( #4169 )
...
Signed-off-by: Chris O'Haver <cohaver@infoblox.com >
2020-10-01 08:03:34 -07:00
Miek Gieben
6edc8fe7f6
More 1.8.0 notes updates: add latest merged PRs ( #4168 )
...
Signed-off-by: Miek Gieben <miek@miek.nl >
2020-10-01 08:02:57 -07:00
Chris O'Haver
b1a69f70bd
dont return 200 during shutdown ( #4167 )
...
Signed-off-by: Chris O'Haver <cohaver@infoblox.com >
2020-10-01 16:13:23 +02:00
Macks
a0f7120864
plugins/auto: allow fallthrough if no zone match ( #4166 )
...
* plugins/auto: allow fallthrough if no zone match
this is a solution to #3033
Signed-off-by: Macks <macksme@outlook.com >
* plugin/auto.go remove whitespace
Signed-off-by: Macks <macksme@outlook.com >
2020-10-01 15:25:19 +02:00
Chris O'Haver
275a62c70a
update README examples to use transfer plugins ( #4163 )
...
Signed-off-by: Chris O'Haver <cohaver@infoblox.com >
2020-09-30 17:57:18 +02:00
Miek Gieben
5235b35e3f
doh support: make no TLS config fatal ( #4162 )
...
without TLS you can't have a functioning DoH server as no client will be
able to talk to it. Make this a fatal failure.
Add some extra docs on how to start a DoH capable server.
Signed-off-by: Miek Gieben <miek@miek.nl >
2020-09-30 17:17:24 +02:00
Miek Gieben
0cb0136570
Add proto and remote tags to trace plugin ( #4159 )
...
* Add proto and client-ip trace tags
Signed-off-by: Adam Malcontenti-Wilson <amalcontenti-wilson@zendesk.com >
* Commit my own suggestion
Signed-off-by: Miek Gieben <miek@miek.nl >
Co-authored-by: Adam Malcontenti-Wilson <amalcontenti-wilson@zendesk.com >
2020-09-29 10:43:58 +02:00
Miek Gieben
a617ef3064
update 1.8.0 notes ( #4156 )
...
* typos fixed
* a cache fix
* update/finalize some other bits
Signed-off-by: Miek Gieben <miek@miek.nl >
2020-09-28 10:53:50 -07:00
Miek Gieben
35b40a84f2
plugin/cache: Fix filtering ( #4148 )
...
The filtering of DNSSEC records in the cache plugin was not done
correctly. Also the change to introduced this bug didn't take into
account that the cache - by virtue of differentiating between DNSSEC and
no-DNSSEC - relied on not copying the data from the cache.
This change copies and then filters the data and factors the filtering
into a function that is used in two places (albeit with on ugly boolean
parameters to prevent copying things twice).
Add tests, do_test.go is moved to test/cache_test.go because the OPT
handing is done outside of the cache plugin. The core server re-attaches
the correct OPT when replying, so that makes for a better e2e test.
Added small unit test for filterRRslice and an explicit test that asks
for DNSSEC first and then plain, and vice versa to test cache behavior.
Fixes : #4146
Signed-off-by: Miek Gieben <miek@miek.nl >
2020-09-28 07:53:00 -07:00
coredns-auto-go-mod-tidy[bot]
1a1ce9a9c8
auto go mod tidy
2020-09-28 12:58:12 +00:00
dependabot-preview[bot]
1cb9d90d6e
build(deps): bump github.com/aws/aws-sdk-go from 1.34.22 to 1.34.32 ( #4153 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.34.22 to 1.34.32.
- [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.34.22...v1.34.32 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-28 14:57:35 +02:00
dependabot-preview[bot]
efb5024b4d
build(deps): bump k8s.io/client-go from 0.19.1 to 0.19.2 ( #4150 )
...
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go ) from 0.19.1 to 0.19.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.19.1...v0.19.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-09-28 14:57:12 +02:00
dependabot-preview[bot]
db1439fe5f
build(deps): bump github.com/prometheus/common from 0.13.0 to 0.14.0 ( #4149 )
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.13.0 to 0.14.0.
- [Release notes](https://github.com/prometheus/common/releases )
- [Commits](https://github.com/prometheus/common/compare/v0.13.0...v0.14.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-09-28 14:56:58 +02:00
Miek Gieben
25c3ef52f2
Add notes for next 1.8.0 release ( #4143 )
...
Signed-off-by: Miek Gieben <miek@miek.nl >
2020-09-24 12:40:40 -07:00
coredns-auto-go-mod-tidy[bot]
8c6ca43571
auto make -f Makefile.doc
2020-09-24 18:30:59 +00:00
Yong Tang
9798dd067f
Cherry-pick: Implement notifies for transfer plugin ( #3972 ) ( #4142 )
...
* 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 >
* Remove plugin/kubernetes/setup_transfer_test.go
Signed-off-by: Yong Tang <yong.tang.github@outlook.com >
Co-authored-by: Miek Gieben <miek@miek.nl >
2020-09-24 20:30:39 +02:00
coredns-auto-go-mod-tidy[bot]
279194f2e4
auto go mod tidy
2020-09-24 16:15:18 +00:00
Miek Gieben
b003d06003
For caddy v1 in our org ( #4018 )
...
* For caddy v1 in our org
This RP changes all imports for caddyserver/caddy to coredns/caddy. This
is the v1 code of caddy.
For the coredns/caddy repo the following changes have been made:
* anything not needed by us is deleted
* all `telemetry` stuff is deleted
* all its import paths are also changed to point to coredns/caddy
* the v1 branch has been moved to the master branch
* a v1.1.0 tag has been added to signal the latest release
Signed-off-by: Miek Gieben <miek@miek.nl >
* Fix imports
Signed-off-by: Miek Gieben <miek@miek.nl >
* Group coredns/caddy with out plugins
Signed-off-by: Miek Gieben <miek@miek.nl >
* remove this file
Signed-off-by: Miek Gieben <miek@miek.nl >
* Relax import ordering
github.com/coredns is now also a coredns dep, this makes
github.com/coredns/caddy fit more natural in the list.
Signed-off-by: Miek Gieben <miek@miek.nl >
* Fix final import
Signed-off-by: Miek Gieben <miek@miek.nl >
2020-09-24 18:14:41 +02:00
Miek Gieben
24e668ecf0
goreport card fixes ( #4139 )
...
This fixes some inefassign as report by Go report card:
https://goreportcard.com/report/github.com/coredns/coredns
Signed-off-by: Miek Gieben <miek@miek.nl >
2020-09-22 09:22:00 +02:00
Miek Gieben
aa82ca62fb
coredns: bump version to 1.7.1 ( #4136 )
...
Set correct date on the release notes and add one more PR (for cache)
Signed-off-by: Miek Gieben <miek@miek.nl >
v1.7.1
2020-09-21 12:10:03 +02:00
Miek Gieben
16d489851e
plugin/hosts: make hosts plugin cursive ( #4131 )
...
nit-picking PR, when using the name of the plugin make it cursive.
Signed-off-by: Miek Gieben <miek@miek.nl >
2020-09-18 02:39:11 -07:00
Miek Gieben
acf9a0fa19
cache: default to DNSSEC ( #4085 )
...
* cache: default to DNSSEC
This change does away with the DNS/DNSSEC distinction the cache
currently makes. Cache will always make coredns perform a DNSSEC query
and store that result. If a client just needs plain DNS, the DNSSEC
records are stripped from the response.
It should also be more memory efficient, because we store a reply once
and not one DNS and another for DNSSEC.
Fixes : #3836
Signed-off-by: Miek Gieben <miek@miek.nl >
* Change OPT RR when one is present in the msg.
Signed-off-by: Miek Gieben <miek@miek.nl >
* Fix comment for isDNSSEC
Signed-off-by: Miek Gieben <miek@miek.nl >
* Update plugin/cache/handler.go
Co-authored-by: Chris O'Haver <cohaver@infoblox.com >
* Update plugin/cache/item.go
Co-authored-by: Chris O'Haver <cohaver@infoblox.com >
* Code review; fix comment for isDNSSEC
Signed-off-by: Miek Gieben <miek@miek.nl >
* Update doc and set AD to false
Set Authenticated Data to false when DNSSEC was not wanted. Also update
the readme with the new behavior.
Signed-off-by: Miek Gieben <miek@miek.nl >
* Update plugin/cache/handler.go
Co-authored-by: Chris O'Haver <cohaver@infoblox.com >
Co-authored-by: Chris O'Haver <cohaver@infoblox.com >
2020-09-17 07:28:43 -07:00
Miek Gieben
22b6846626
notes: update 1.7.1 ( #4128 )
...
Updates the notes with latest PRs. I want the cache PR to be included in
this release as well, if possible.
Should release somewhere this week.
Signed-off-by: Miek Gieben <miek@miek.nl >
2020-09-17 05:55:10 -07:00
coredns-auto-go-mod-tidy[bot]
a48426eef4
auto go mod tidy
2020-09-16 18:33:38 +00:00
Zou Nengren
8e1ab71720
bump prometheus with zipkin ( #4109 )
...
Signed-off-by: zounengren <zounengren@cmss.chinamobile.com >
2020-09-16 11:33:08 -07:00
Ruslan Drozhdzh
f96a2f1f69
plugin/forward: fix panic when expire is configured as 0s ( #4115 )
...
Signed-off-by: Ruslan Drozhdzh <rdrozhdzh@infoblox.com >
2020-09-15 14:36:39 +02:00
coredns-auto-go-mod-tidy[bot]
0329de55c7
auto go mod tidy
2020-09-14 09:57:14 +00:00
dependabot-preview[bot]
a97d03226a
build(deps): bump github.com/aws/aws-sdk-go from 1.34.18 to 1.34.22 ( #4118 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.34.18 to 1.34.22.
- [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.34.18...v1.34.22 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-14 11:56:40 +02:00
coredns-auto-go-mod-tidy[bot]
fd49c80514
auto make -f Makefile.doc
2020-09-14 09:43:13 +00:00
Ruslan Drozhdzh
30a4a87eaa
plugin/forward: add hit/miss metrics for connection cache ( #4114 )
...
Signed-off-by: Ruslan Drozhdzh <rdrozhdzh@infoblox.com >
2020-09-14 11:42:55 +02:00
coredns-auto-go-mod-tidy[bot]
2fe5d684f9
auto go mod tidy
2020-09-14 09:36:18 +00:00
dependabot-preview[bot]
63efda7950
build(deps): bump k8s.io/client-go from 0.19.0 to 0.19.1 ( #4120 )
...
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go ) from 0.19.0 to 0.19.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.19.0...v0.19.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-09-14 11:35:43 +02:00
coredns-auto-go-mod-tidy[bot]
dbab5a7a62
auto go mod tidy
2020-09-14 09:30:41 +00:00
dependabot-preview[bot]
1a4e635b19
build(deps): bump github.com/farsightsec/golang-framestream ( #4117 )
...
Bumps [github.com/farsightsec/golang-framestream](https://github.com/farsightsec/golang-framestream ) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/farsightsec/golang-framestream/releases )
- [Commits](https://github.com/farsightsec/golang-framestream/compare/v0.2.0...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-09-14 11:30:06 +02:00
coredns-auto-go-mod-tidy[bot]
5673a9d569
auto go mod tidy
2020-09-14 09:27:40 +00:00
dependabot-preview[bot]
1d5c5e8fff
build(deps): bump github.com/Azure/go-autorest/autorest/azure/auth ( #4124 )
...
Bumps [github.com/Azure/go-autorest/autorest/azure/auth](https://github.com/Azure/go-autorest ) from 0.5.1 to 0.5.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/azure/auth/v0.5.1...autorest/azure/auth/v0.5.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-09-14 11:27:00 +02:00
Miek Gieben
e082bb5a61
plugin/trace: fix struct allignment ( #4112 )
...
* plugin/trace: fix struct allignment
A 64 bit entity needs to be the first in a struct to make it work on 32
bit systems.
Fixes : #4111
Signed-off-by: Miek Gieben <miek@miek.nl >
* plugin/erratic does makes the same mistake
Signed-off-by: Miek Gieben <miek@miek.nl >
2020-09-09 10:45:14 +02:00
Ruslan Drozhdzh
04af1c692c
plugin/forward: init ClientSessionCache in tls.Config ( #4108 )
...
* plugin/forward: init ClientSessionCache in tls.Config
- ClientSessionCache may speed up a TLS handshake in upcoming connections
to the same TLS server
Signed-off-by: Ruslan Drozhdzh <rdrozhdzh@infoblox.com >
* add comment
Signed-off-by: Ruslan Drozhdzh <rdrozhdzh@infoblox.com >
2020-09-08 21:36:06 +08:00
coredns-auto-go-mod-tidy[bot]
ca43f845eb
auto go mod tidy
2020-09-07 08:27:02 +00:00
dependabot-preview[bot]
0e441847b5
build(deps): bump github.com/dnstap/golang-dnstap from 0.2.0 to 0.2.1 ( #4107 )
...
Bumps [github.com/dnstap/golang-dnstap](https://github.com/dnstap/golang-dnstap ) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/dnstap/golang-dnstap/releases )
- [Commits](https://github.com/dnstap/golang-dnstap/compare/v0.2.0...v0.2.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-09-07 10:26:25 +02:00
coredns-auto-go-mod-tidy[bot]
18c8e1a3f1
auto go mod tidy
2020-09-07 08:25:54 +00:00
dependabot-preview[bot]
c3e8597093
build(deps): bump github.com/aws/aws-sdk-go from 1.34.13 to 1.34.18 ( #4105 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.34.13 to 1.34.18.
- [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.34.13...v1.34.18 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-07 10:25:20 +02:00
Yong Tang
7b78170041
Fix trailing whitespace ( #4103 )
...
The latest commit (e233f59 ) on master branch introduced a trailing
whitespace and is causing Travis CI build to fail:
https://travis-ci.org/github/coredns/coredns/builds/722988413
This PR fixes the failing test.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com >
2020-09-06 20:57:56 -04:00
Hu Shuai
e233f59ee8
Fix some typos in comments. ( #4100 )
...
Signed-off-by: Hu Shuai <hus.fnst@cn.fujitsu.com >
2020-09-01 09:10:45 +02:00
Miek Gieben
9e4a177d9f
clouddns,route53: fix lingering goroutines after restart ( #4096 )
...
Stop the context so the refresh loop terminates on restart.
Fixes : #3815
Signed-off-by: Miek Gieben <miek@miek.nl >
2020-08-31 06:39:01 -07:00
coredns-auto-go-mod-tidy[bot]
c126e7fc11
auto go mod tidy
2020-08-31 08:14:07 +00:00
dependabot-preview[bot]
6707bfca2f
build(deps): bump github.com/aws/aws-sdk-go from 1.34.5 to 1.34.13 ( #4092 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.34.5 to 1.34.13.
- [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.34.5...v1.34.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-08-31 10:13:32 +02:00
coredns-auto-go-mod-tidy[bot]
8aace11da8
auto go mod tidy
2020-08-31 08:13:12 +00:00
dependabot-preview[bot]
77428f578f
build(deps): bump k8s.io/client-go from 0.18.8 to 0.19.0 ( #4095 )
...
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go ) from 0.18.8 to 0.19.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.18.8...v0.19.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-08-31 10:12:33 +02:00
coredns-auto-go-mod-tidy[bot]
bbd341fd59
auto go mod tidy
2020-08-31 08:11:23 +00:00