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 .
- 14 Oct, 2020 2 commits
-
-
Miek Gieben authored
By checking state.Do() were are checking if the request had DO, but we are _always_ adding Do now - do we need to save the DO from the ORIGINAL request, which must be done in the ResponseWriter. Also skip OPT records in filterDNSSEC as we can't set the TTL on those records, this prevents writing a number to OPT's MBZ. Note none of the tests have changed and still PASS. This is due to the fact that CoreDNSServerAndPorts isn't a full server as we start in main, it lacks the scrubwriter for instance. This is not bad per se, but should be documented in the test code. Signed-off-by:Miek Gieben <miek@miek.nl>
-
Miek Gieben authored
few notes that this API also changed. Signed-off-by:Miek Gieben <miek@miek.nl>
-
- 13 Oct, 2020 3 commits
-
-
Bob authored
Automatically submitted.
-
coredns-auto-go-mod-tidy[bot] authored
-
Miek Gieben authored
* plugin/dnstap: various cleanups A recent issue made me look into this plugin, I suspect various other cleanups (hopefully deletion of code) can be made as well Remove identical functions ToClientQuery etc, and just use tap.Message as the base type in plugin. Keep msg/ for a few helper functions that may proof useful. This remove the whole test directory as we will just check the things we are interested in which gives much better feedback and keeps that code closer together. tapwr dir is also not needed, writer_test.go was just duplicating the tests already done. This moves writer.go to the top directory. Make the only user of dnstap, the forward plugin, use the newer code also remove the test, a better test there would be a full e2e test to see the correct thing happens. Cleanup the Tapper interface and move it to dnstapio where it belongs, remove higher level interfaces that are not used. This remove dnstap.Tapper and dnstap.IORoutines. Use the standard mechanism for getting access to a plugin and remove shuffling the plugin into the context. Signed-off-by:
Miek Gieben <miek@miek.nl> * use opts to get the correct proto Signed-off-by:
Miek Gieben <miek@miek.nl> * Various fixes Signed-off-by:
Miek Gieben <miek@miek.nl> * Remove bad addr test, as dnstap is only called from within coredns where these fields have been preparsed Signed-off-by:
Miek Gieben <miek@miek.nl> * dnstap: remove saving the error all these fields have been preparsed, no need for dnstap to be pedantic and check (and save!) this error again. Simplifies it a bit more. Signed-off-by:
Miek Gieben <miek@miek.nl> * Update plugin/forward/dnstap.go Co-authored-by:
Ruslan Drozhdzh <30860269+rdrozhdzh@users.noreply.github.com> * Code review Signed-off-by:
Miek Gieben <miek@miek.nl> * add back in preferUDP Signed-off-by:
Miek Gieben <miek@miek.nl> * nit Signed-off-by:
Miek Gieben <miek@miek.nl> Co-authored-by:
Ruslan Drozhdzh <30860269+rdrozhdzh@users.noreply.github.com>
-
- 12 Oct, 2020 8 commits
-
-
coredns-auto-go-mod-tidy[bot] authored
-
dependabot-preview[bot] authored
Bumps [github.com/Azure/go-autorest/autorest/azure/auth](https://github.com/Azure/go-autorest) from 0.5.2 to 0.5.3. - [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.2...autorest/azure/auth/v0.5.3) 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/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.2 to 1.35.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.35.2...v1.35.7) 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/cenkalti/backoff/v4](https://github.com/cenkalti/backoff) from 4.0.2 to 4.1.0. - [Release notes](https://github.com/cenkalti/backoff/releases) - [Commits](https://github.com/cenkalti/backoff/compare/v4.0.2...v4.1.0) 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/miekg/dns](https://github.com/miekg/dns) from 1.1.31 to 1.1.32. - [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.31...v1.1.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 [github.com/Azure/go-autorest/autorest](https://github.com/Azure/go-autorest) from 0.11.7 to 0.11.10. - [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.7...autorest/v0.11.10) Signed-off-by:
dependabot-preview[bot] <support@dependabot.com> Co-authored-by:
dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
-
- 08 Oct, 2020 1 commit
-
-
Miek Gieben authored
A new PR and author. Also clarify the impact of the backwards incompatible changes are minimal for most users. Signed-off-by:Miek Gieben <miek@miek.nl>
-
- 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>
-