This project is mirrored from https://github.com/coredns/coredns.git.
The repository failed to update .
Repository mirroring has been paused due to too many failed attempts, and can be resumed by a project maintainer.
Last successful update .
Repository mirroring has been paused due to too many failed attempts, and can be resumed by a project maintainer.
Last successful update .
- 07 Oct, 2020 1 commit
-
-
Miek Gieben authored
* core: fix crash with no plugins A Corefile that defines a zone without plugins crashes coredns with the stack trace below. Change this to return a refused. ~~~ corefile example.org { whoami log cache debug } example.net { } ~~~ Asking for anyhing in example.net does this. Add test that tests this. ~~~ panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0xa5e6a4] goroutine 55 [running]: github.com/coredns/coredns/core/dnsserver.(*Server).ServeDNS(0xc000438f60, 0x2059420, 0xc0005a4030, 0x206c0e0, 0xc000522140, 0xc0005ae000) /home/miek/src/github.com/coredns/coredns/core/dnsserver/server.go:247 +0x884 github.com/coredns/coredns/core/dnsserver.(*Server).ServePacket.func1(0x206dd00, 0xc00009e180, 0xc0005ae000) /home/miek/src/github.com/coredns/coredns/core/dnsserver/server.go:126 +0xaf github.com/miekg/dns.HandlerFunc.ServeDNS(0xc000529270, 0x206dd00, 0xc00009e180, 0xc0005ae000) /home/miek/go/pkg/mod/github.com/miekg/dns@v1.1.31/server.go:37 +0x44 github.com/miekg/dns.(*Server).serveDNS(0xc000286c60, 0xc000282400, 0x34, 0x200, 0xc00009e180) /home/miek/go/pkg/mod/github.com/miekg/dns@v1.1.31/server.go:609 +0x2f7 github.com/miekg/dns.(*Server).serveUDPPacket(0xc000286c60, 0xc0003b03b4, 0xc000282400, 0x34, 0x200, 0xc00000e320, 0xc000522080) /home/miek/go/pkg/mod/github.com/miekg/dns@v1.1.31/server.go:549 +0xb2 created by github.com/miekg/dns.(*Server).serveUDP /home/miek/go/pkg/mod/github.com/miekg/dns@v1.1.31/server.go:479 +0x292 ~~~ Also fix single typo in chaos_test.go Signed-off-by:Miek Gieben <miek@miek.nl> * Fix naming Signed-off-by:
Miek Gieben <miek@miek.nl>
-
- 06 Oct, 2020 1 commit
-
-
Johnny Bergström authored
Signed-off-by:Johnny Bergström <johnny@klaudify.se>
-
- 05 Oct, 2020 6 commits
-
-
coredns-auto-go-mod-tidy[bot] authored
-
dependabot-preview[bot] authored
Bumps [gopkg.in/DataDog/dd-trace-go.v1](https://github.com/DataDog/dd-trace-go) from 1.26.0 to 1.27.0. - [Release notes](https://github.com/DataDog/dd-trace-go/releases) - [Commits](https://github.com/DataDog/dd-trace-go/compare/v1.26.0...v1.27.0) Signed-off-by:
dependabot-preview[bot] <support@dependabot.com> Co-authored-by:
dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
-
coredns-auto-go-mod-tidy[bot] authored
-
dependabot-preview[bot] authored
Bumps [github.com/Azure/go-autorest/autorest](https://github.com/Azure/go-autorest) from 0.11.6 to 0.11.7. - [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.6...autorest/v0.11.7) Signed-off-by:
dependabot-preview[bot] <support@dependabot.com> Co-authored-by:
dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
-
dependabot-preview[bot] authored
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.34.32 to 1.35.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.34.32...v1.35.2) Signed-off-by:
dependabot-preview[bot] <support@dependabot.com> Co-authored-by:
dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
-
dependabot-preview[bot] authored
Bumps [github.com/dnstap/golang-dnstap](https://github.com/dnstap/golang-dnstap) from 0.2.1 to 0.2.2. - [Release notes](https://github.com/dnstap/golang-dnstap/releases) - [Commits](https://github.com/dnstap/golang-dnstap/compare/v0.2.1...v0.2.2) Signed-off-by:
dependabot-preview[bot] <support@dependabot.com> Co-authored-by:
dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
-
- 01 Oct, 2020 4 commits
-
-
Chris O'Haver authored
Signed-off-by:Chris O'Haver <cohaver@infoblox.com>
-
Miek Gieben authored
Signed-off-by:Miek Gieben <miek@miek.nl>
-
Chris O'Haver authored
Signed-off-by:Chris O'Haver <cohaver@infoblox.com>
-
Macks authored
* 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>
-
- 30 Sep, 2020 2 commits
-
-
Chris O'Haver authored
Signed-off-by:Chris O'Haver <cohaver@infoblox.com>
-
Miek Gieben authored
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>
-
- 29 Sep, 2020 2 commits
-
-
Miek Gieben authored
* 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>
-
Miek Gieben authored
* typos fixed * a cache fix * update/finalize some other bits Signed-off-by:Miek Gieben <miek@miek.nl>
-
- 28 Sep, 2020 5 commits
-
-
Miek Gieben authored
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>
-
coredns-auto-go-mod-tidy[bot] authored
-
dependabot-preview[bot] authored
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>
-
dependabot-preview[bot] authored
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>
-
dependabot-preview[bot] authored
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>
-
- 25 Sep, 2020 5 commits
-
-
Miek Gieben authored
Signed-off-by:Miek Gieben <miek@miek.nl>
-
coredns-auto-go-mod-tidy[bot] authored
-
Yong Tang authored
* 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>
-
coredns-auto-go-mod-tidy[bot] authored
-
Miek Gieben authored
* 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>
-
- 22 Sep, 2020 1 commit
-
-
Miek Gieben authored
This fixes some inefassign as report by Go report card: https://goreportcard.com/report/github.com/coredns/corednsSigned-off-by:
Miek Gieben <miek@miek.nl>
-
- 21 Sep, 2020 1 commit
-
-
Miek Gieben authored
Set correct date on the release notes and add one more PR (for cache) Signed-off-by:Miek Gieben <miek@miek.nl>
-
- 18 Sep, 2020 1 commit
-
-
Miek Gieben authored
nit-picking PR, when using the name of the plugin make it cursive. Signed-off-by:Miek Gieben <miek@miek.nl>
-
- 17 Sep, 2020 4 commits
-
-
Miek Gieben authored
* 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>
-
Miek Gieben authored
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>
-
coredns-auto-go-mod-tidy[bot] authored
-
Zou Nengren authored
Signed-off-by:zounengren <zounengren@cmss.chinamobile.com>
-
- 15 Sep, 2020 1 commit
-
-
Ruslan Drozhdzh authored
Signed-off-by:Ruslan Drozhdzh <rdrozhdzh@infoblox.com>
-
- 14 Sep, 2020 6 commits
-
-
coredns-auto-go-mod-tidy[bot] authored
-
dependabot-preview[bot] authored
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>
-
coredns-auto-go-mod-tidy[bot] authored
-
Ruslan Drozhdzh authored
Signed-off-by:Ruslan Drozhdzh <rdrozhdzh@infoblox.com>
-
coredns-auto-go-mod-tidy[bot] authored
-
dependabot-preview[bot] authored
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>
-