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 .
- 04 Oct, 2019 2 commits
-
-
janluk authored
For now metric is measure only for headless services. Informer has been slighlty refactored, so the code can measure latency without storing extra fields on Endpoint struct. Signed-off-by:
Janek Łukaszewicz <janluk@google.com> Suggestions from code review Co-Authored-By:
Chris O'Haver <cohaver@infoblox.com>
-
Miek Gieben authored
* Make request.Request smaller This makes the request struct smaller and removes the pointer to the do boolean (tri-bool) as size == 0 will indicate if we have cached it. Family can be a int8 because it only carries 3 values, Size itself is just a uint16 under the covers. This is a more comprehensive fix than #3292 Closes #3292 Signed-off-by:
Miek Gieben <miek@miek.nl> * cache: fix test this now needs a valid response writter Signed-off-by:
Miek Gieben <miek@miek.nl>
-
- 03 Oct, 2019 3 commits
-
-
Miek Gieben authored
The goroutine closure was causing objects to be heap allocated. Moving it to a separate function fixes that. ```benchmark old ns/op new ns/op delta BenchmarkCacheResponse/NoPrefetch-12 773 713 -7.76% BenchmarkCacheResponse/Prefetch-12 878 837 -4.67% BenchmarkHash-12 9.17 9.18 +0.11% benchmark old allocs new allocs delta BenchmarkCacheResponse/NoPrefetch-12 9 8 -11.11% BenchmarkCacheResponse/Prefetch-12 9 8 -11.11% BenchmarkHash-12 0 0 +0.00% benchmark old bytes new bytes delta BenchmarkCacheResponse/NoPrefetch-12 471 327 -30.57% BenchmarkCacheResponse/Prefetch-12 471 327 -30.57% BenchmarkHash-12 0 0 +0.00% ``` Signed-off-by:
Charlie Vieth <charlie.vieth@gmail.com> Signed-off-by:
Miek Gieben <miek@miek.nl>
-
Miek Gieben authored
Don't perform this code in the init, this allocated 1 megabyte of memory even if you don't use the plugin. Looks to be only there for testing, adding a comment to reflect that. Fixes #3342 Signed-off-by:Miek Gieben <miek@miek.nl>
-
Miek Gieben authored
* plugin/clouddns: remove initialization from init Init should just call the plugin.Register with a setup function. Fixes: #3343 Signed-off-by:
Miek Gieben <miek@miek.nl> * Fix placement for var f Signed-off-by:
Miek Gieben <miek@miek.nl>
-
- 02 Oct, 2019 5 commits
-
-
Hauke Löffler authored
Signed-off-by:Hauke Löffler <hloeffler@users.noreply.github.com>
-
Yong Tang authored
Signed-off-by:Yong Tang <yong.tang.github@outlook.com>
-
Miek Gieben authored
Fix the documentation, remove autopath entry and fix the transfer by copying some bits from the file plugin. Signed-off-by:Miek Gieben <miek@miek.nl>
-
Ingo Gottwald authored
This fixes the vet warning: the cancel function returned by context.WithTimeout should be called, not discarded, to avoid a context leak. Signed-off-by:Ingo Gottwald <in.gottwald@gmail.com>
-
Miek Gieben authored
* Move map to array The map was not needed move to an array, see #1941 for the original idea. That of course didn't apply anymore; make a super minimal change to implements the idea from #1941 Signed-off-by:
Miek Gieben <miek@miek.nl> * Add total count Signed-off-by:
Miek Gieben <miek@miek.nl>
-
- 01 Oct, 2019 4 commits
-
-
Miek Gieben authored
* plugin/forward: may Yield not block Yield may block when we're super busy with creating (and looking) for connection. Set a small timeout on Yield, to skip putting the connection back in the queue. Use persistentConn troughout the socket handling code to be more consistent. Signed-off-by:
Miek Gieben <miek@miek.nl> Dont do Signed-off-by:
Miek Gieben <miek@miek.nl> * Set used in Yield This gives one central place where we update used in the persistConns Signed-off-by:
Miek Gieben <miek@miek.nl>
-
Uladzimir Trehubenka authored
Signed-off-by:utrehubenka <utrehubenka@infoblox.com>
-
Erfan Besharat authored
* Use session.NewSession instead of session.New Signed-off-by:
Erfan Besharat <erbesharat@gmail.com> * Use grpc.DialContext instead of grpc.WithTimeout Signed-off-by:
Erfan Besharat <erbesharat@gmail.com> * Pass non-nil context to context.WithTimeout Signed-off-by:
Erfan Besharat <erbesharat@gmail.com> * Return the error directly in route53 setup Co-Authored-By:
Miek Gieben <miek@miek.nl> Signed-off-by:
Erfan Besharat <erbesharat@gmail.com>
-
Miek Gieben authored
* Run gostaticheck Run gostaticcheck on the codebase and fix almost all flagged items. Only keep * coremain/run.go:192:2: var appVersion is unused (U1000) * plugin/chaos/setup.go:54:3: the surrounding loop is unconditionally terminated (SA4004) * plugin/etcd/setup.go:103:3: the surrounding loop is unconditionally terminated (SA4004) * plugin/pkg/replacer/replacer.go:274:13: argument should be pointer-like to avoid allocations (SA6002) * plugin/route53/setup.go:124:28: session.New is deprecated: Use NewSession functions to create sessions instead. NewSession has the same functionality as New except an error can be returned when the func is called instead of waiting to receive an error until a request is made. (SA1019) * test/grpc_test.go:25:69: grpc.WithTimeout is deprecated: use DialContext and context.WithTimeout instead. Will be supported throughout 1.x. (SA1019) The first one isn't true, as this is set via ldflags. The rest is minor. The deprecation should be fixed at some point; I'll file some issues. Signed-off-by:
Miek Gieben <miek@miek.nl> * Make sure to plug in the plugins import the plugins, that file that did this was removed, put it in the reload test as this requires an almost complete coredns server. Signed-off-by:
Miek Gieben <miek@miek.nl>
-
- 30 Sep, 2019 3 commits
-
-
dependabot-preview[bot] authored
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.24.3 to 1.25.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.24.3...v1.25.1) Signed-off-by:
dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.23.0 to 1.24.0. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](https://github.com/grpc/grpc-go/compare/v1.23.0...v1.24.0) Signed-off-by:
dependabot-preview[bot] <support@dependabot.com>
-
Miek Gieben authored
* Makefiles: remove GO111MODULE This is the default in 1.13 it can be removed; also make the test out log less, so failure are more pronounced in the travis out, hide coverage stats for instance. Signed-off-by:
Miek Gieben <miek@miek.nl> * Kill -v as wel Signed-off-by:
Miek Gieben <miek@miek.nl>
-
- 28 Sep, 2019 3 commits
-
-
Miek Gieben authored
Remove all these uses and just make them work on caddy.Controller. Also don't export parsing functions as their should be private to the plugin. Signed-off-by:Miek Gieben <miek@miek.nl>
-
Miek Gieben authored
These plugins where missed in #3287 because their setup is done in a file other than setup.go Signed-off-by:Miek Gieben <miek@miek.nl>
-
Miek Gieben authored
Go gen updated the deps this is why 1.6.4 has that suffix. Do a go gen and a go mod tidy. Fixes: #3318 Signed-off-by:Miek Gieben <miek@miek.nl>
-
- 27 Sep, 2019 6 commits
-
-
Miek Gieben authored
Signed-off-by:Miek Gieben <miek@miek.nl>
-
Miek Gieben authored
Automatically submitted.
-
Miek Gieben authored
add the acl manual page; mechanical change otherwise. Signed-off-by:Miek Gieben <miek@miek.nl>
-
Miek Gieben authored
* plugin/reload: reflow documentation For some reason these we're all bullets points, which made for awkward reading. Signed-off-by:
Miek Gieben <miek@miek.nl> * typo Signed-off-by:
Miek Gieben <miek@miek.nl> * Update plugin/reload/README.md Co-Authored-By:
Michael Grosser <development@stp-ip.net>
-
Guangming Wang authored
Signed-off-by:Guangming Wang <guangming.wang@daocloud.io>
-
Miek Gieben authored
Remove talk about labels that are not added. Signed-off-by:Miek Gieben <miek@miek.nl>
-
- 26 Sep, 2019 2 commits
-
-
xieyanker authored
Signed-off-by:xieyanker <xjsisnice@gmail.com>
-
Miek Gieben authored
Automatically submitted.
-
- 25 Sep, 2019 1 commit
-
-
Guangming Wang authored
TrimPrefix re-assign to former variable Signed-off-by:Guangming Wang <guangming.wang@daocloud.io>
-
- 24 Sep, 2019 3 commits
-
-
dependabot-preview[bot] authored
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.23.21 to 1.24.3. - [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.23.21...v1.24.3) Signed-off-by:
dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [gopkg.in/DataDog/dd-trace-go.v1](https://github.com/DataDog/dd-trace-go) from 1.17.0 to 1.18.0. - [Release notes](https://github.com/DataDog/dd-trace-go/releases) - [Commits](https://github.com/DataDog/dd-trace-go/compare/v1.17.0...v1.18.0) Signed-off-by:
dependabot-preview[bot] <support@dependabot.com>
-
li mengyang authored
Signed-off-by:hwdef <hwdef97@gmail.com>
-
- 23 Sep, 2019 1 commit
-
-
Guangming Wang authored
Signed-off-by:Guangming Wang <guangming.wang@daocloud.io>
-
- 20 Sep, 2019 1 commit
-
-
Miek Gieben authored
Abstract the caddy call and make it simpler. See #3261 for some part of the discussion. Go from: ~~~ go func init() { caddy.RegisterPlugin("any", caddy.Plugin{ ServerType: "dns", Action: setup, }) } ~~~ To: ~~~ go func init() { plugin.Register("any", setup) } ~~~ This requires some external documents in coredns.io to be updated as well; the old way still works, so it's backwards compatible. Signed-off-by:Miek Gieben <miek@miek.nl>
-
- 19 Sep, 2019 4 commits
-
-
yeya24 authored
* add host metrics Signed-off-by:
yeya24 <yb532204897@gmail.com> * update hosts readme docs Signed-off-by:
yeya24 <yb532204897@gmail.com>
-
Miek Gieben authored
Update all documentation in the tree to use example.org as an example configuration (in so far possible). As to get out of the just use "." and fallthrough and things would be fine. Signed-off-by:Miek Gieben <miek@miek.nl>
-
Miek Gieben authored
* Run go mod -tidy Tidy up and fix the require of x/net to the hash used in miekg/dns, this seems to fix the "incompatible version bla bla" Signed-off-by:
Miek Gieben <miek@miek.nl> * Run go mod tidy Signed-off-by:
Miek Gieben <miek@miek.nl>
-
Guangming Wang authored
Signed-off-by:Guangming Wang <guangming.wang@daocloud.io>
-
- 16 Sep, 2019 2 commits
-
-
dependabot-preview[bot] authored
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.23.17 to 1.23.21. - [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.23.17...v1.23.21) Signed-off-by:
dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
* build(deps): bump github.com/miekg/dns from 1.1.16 to 1.1.17 Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.16 to 1.1.17. - [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.16...v1.1.17) Signed-off-by:
dependabot-preview[bot] <support@dependabot.com> * Update go.mod
-