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 .
- 28 May, 2019 1 commit
-
-
Anurag Goel authored
-
- 27 May, 2019 4 commits
-
-
Andrey Meshkov authored
* Add server instance to the context in ServerTLS and ServerHTTPS The problem with the current code is that there's no way to get the server instance inside a plugin. Because of that "metrics" plugin sets empty "server" label for requests served over TLS or HTTPS. * use s.Server instead of s * Added server to the context of grpc requests
-
Yong Tang authored
This fix: 1. Update dns to v1.1.12 2. Redirect dns v1.1.3 in caddy to v1.1.12 so that there is only one version of dns. Signed-off-by:Yong Tang <yong.tang.github@outlook.com>
-
Alyx authored
Update shebangs for environmentally finding Bash -- Compatibility update to provide support for platforms that do not ship Bash in their /bin (#2841)
-
Yong Tang authored
Signed-off-by:Yong Tang <yong.tang.github@outlook.com>
-
- 24 May, 2019 1 commit
-
-
Miek Gieben authored
* pkg/log: fix data race on d Wrap d in a mutex to prevent data race. This makes is slower, but this is a debugging aid anyway. It's not used normally. Signed-off-by:
Miek Gieben <miek@miek.nl> * Fix tests compilation Signed-off-by:
Miek Gieben <miek@miek.nl> * Fix test compile Signed-off-by:
Miek Gieben <miek@miek.nl>
-
- 19 May, 2019 1 commit
-
-
Miek Gieben authored
This fixes a data race on the listener(s) that get started in the metrics plugins. It also restore pkg/uniq to its former glory and removes and state being carried in there; this means for metrics that registry.go was to replicate that behavior *with* locking (as pkg/uniq doesn't do, or need that). Also renamed uniqAddr to just u, to make it slightly shorter. Signed-off-by:Miek Gieben <miek@miek.nl>
-
- 18 May, 2019 1 commit
-
-
Miek Gieben authored
Reset the buf otherwise we're not checking the new value. Signed-off-by:Miek Gieben <miek@miek.nl>
-
- 13 May, 2019 1 commit
-
-
Miek Gieben authored
Fix metrics endpoint on a failed reload, follows the same lines as the previous PRs, see for e.g. 076b8d4f. Test with a Corefile with 2 server blocks and metrics enabled and then introducing a syntax error: ~~~ [ERROR] Restart failed: Corefile:5 - Error during parsing: Unknown directive 'jfkdjk' [ERROR] SIGUSR1: starting with listener file descriptors: Corefile:5 - Error during parsing: Unknown directive 'jfkdjk' ~~~ And then curl-ing the metrics endpoint. See #2659 and as this is the last one. Fixes: #2659 Getting this all right turns out to be tricky, also it's not easy testable which is something I should fix. Signed-off-by:
Miek Gieben <miek@miek.nl>
-
- 08 May, 2019 1 commit
-
-
Chris O'Haver authored
-
- 06 May, 2019 3 commits
-
-
Yong Tang authored
Signed-off-by:Yong Tang <yong.tang.github@outlook.com>
-
Miek Gieben authored
This has somehow survived; the docs still used Middleware instead of Plugins. Signed-off-by:Miek Gieben <miek@miek.nl>
-
Miek Gieben authored
Update this file, give Readiness its own section and remove the talk about the *reverse* plugin as it does not exist in the main tree anymore. Signed-off-by:Miek Gieben <miek@miek.nl>
-
- 05 May, 2019 2 commits
-
-
Miek Gieben authored
Add OnReStartFailed which makes the health plugin stay up if the Corefile is corrupt and we revert to the previous version. Also needs a fix for the channel handling See #2659 Testing it will log the following when restarting with a corrupted Corefile ~~~ 2019-05-04T18:01:59.431Z [INFO] linux/amd64, go1.12.4, CoreDNS-1.5.0 linux/amd64, go1.12.4, [INFO] SIGUSR1: Reloading [INFO] Reloading [ERROR] Restart failed: Corefile:5 - Error during parsing: Unknown directive 'bdhfhdhj' [ERROR] SIGUSR1: starting with listener file descriptors: Corefile:5 - Error during parsing: Unknown directive 'bdhfhdhj' ~~~ After which the curl still works. This also needed a change to reset the channel used for the metrics go-routine which gets closed on shutdown, otherwise you'll see: ~~~ ^C[INFO] SIGINT: Shutting down panic: close of closed channel goroutine 90 [running]: github.com/coredns/coredns/plugin/health.(*health).OnFinalShutdown(0xc000089bc0, 0xc000063d88, 0x4afe6d) ~~~ Signed-off-by:Miek Gieben <miek@miek.nl>
-
Miek Gieben authored
Small, trivial cleanup: got triggered because I saw a comment on how health plugins polls other plugins which isn't true. * Remove useless newHealth function * healthParse -> parse * Remove useless constants Net deletion of code. Signed-off-by:Miek Gieben <miek@miek.nl>
-
- 01 May, 2019 2 commits
-
-
Billie Cleek authored
* kubernetes: never respond with NXDOMAIN for authority label Return a nodata response when trying to resolve the authority's label for a record type that doesn't match the record type of the authority. This guards against poisoning the authority record by requesting the wrong record type for the authority label. For instance, given an authoritative resolver that uses subdomain delegation for Kubernetes services of a cluster that's configured to use IPv4, the parent may be poisoned by querying it for the authority label of the cluster subdomain with a AAAA record type, which would otherwise (i.e. without this change) return an NXDOMAIN. That is, given cluster.example.com NS 10800 ns.dns.cluster.example.com ns.dns.cluster.example.com A 10800 10.0.1.2 The parent may be poisoned for the SOA TTL by querying it for a AAAA record of ns.dns.cluster.example.com, causing the parent to fail delegate properly until the SOA TTL lapses. * kubernetes: add tests for authority queries
-
Cricket Liu authored
Minor grammatical fixes.
-
- 30 Apr, 2019 2 commits
-
-
Chris O'Haver authored
* Update README.md
-
Yong Tang authored
While running make notices the following: ``` ** presubmit/trailing-whitespace plugin/grpc/README.md:Multiple upstreams are randomized (see `policy`) on first use. When a proxy returns an error plugin/pprof/setup_test.go: {`pprof :1234 { plugin/pprof/setup_test.go: {`pprof { ** presubmit/trailing-whitespace: please remove any trailing white space ``` This fix removes the whitespaces Signed-off-by:Yong Tang <yong.tang.github@outlook.com>
-
- 28 Apr, 2019 1 commit
-
-
Miek Gieben authored
* Add any plugin This adds the any plugin, a plain copy of coredns/any documented here https://coredns.io/explugins/any/ as an external plugin. Fixes: #2785 Signed-off-by:
Miek Gieben <miek@miek.nl> * Stickler bot nit Signed-off-by:
Miek Gieben <miek@miek.nl>
-
- 27 Apr, 2019 1 commit
-
-
Michael Grosser authored
Automatically submitted.
-
- 24 Apr, 2019 1 commit
-
-
Cricket Liu authored
s/from/form
-
- 23 Apr, 2019 1 commit
-
-
Miek Gieben authored
Randomize the author list on request; keep the zowners.go file stable so a 'go generate' remain stable. chaos.Owners could potentially be a map and be randomized by ranging over it, but this seems simpler and fewer lines of code. Bit of Easter hacking; seems more fair to randomize this list. Signed-off-by:Miek Gieben <miek@miek.nl>
-
- 22 Apr, 2019 1 commit
-
-
Miek Gieben authored
* Fix spelling in coredns.1 and corefile.7 md files * Run make -f Makefile.doc Signed-off-by:Miek Gieben <miek@miek.nl>
-
- 19 Apr, 2019 1 commit
-
-
Miek Gieben authored
Make clearer how health works and that is it process wide. Signed-off-by:Miek Gieben <miek@miek.nl>
-
- 12 Apr, 2019 1 commit
-
-
varyoo authored
Bye for now :-)
-
- 09 Apr, 2019 1 commit
-
-
Miek Gieben authored
Upgrade miekg/dns to 1.1.8 Signed-off-by:Miek Gieben <miek@miek.nl>
-
- 08 Apr, 2019 3 commits
-
-
Miek Gieben authored
Various plugins still had this documented, the setup functions still allow it (which is fine), but update the docs that this arguments isn't there any more. Signed-off-by:Miek Gieben <miek@miek.nl>
-
Kun Chang authored
* cache failures * use ServerError
-
Miek Gieben authored
This formats and simplifies all code by running gofmt -w -s on all Go files. Signed-off-by:Miek Gieben <miek@miek.nl>
-
- 06 Apr, 2019 5 commits
-
-
Miek Gieben authored
* WIP: travis changes Simplify Travis so it fails less often. We don't need docker any more, let alone trusty and sudo, so simplifies this, to just os: linux. Signed-off-by:
Miek Gieben <miek@miek.nl> * This? Signed-off-by:
Miek Gieben <miek@miek.nl>
-
Miek Gieben authored
Signed-off-by:Miek Gieben <miek@miek.nl>
-
Miek Gieben authored
each readme starts with the plugin's name as a header, this needs to be chopped off to provide a good manual page. Signed-off-by:Miek Gieben <miek@miek.nl>
-
Miek Gieben authored
* fix date on 150 release notes * fix syntax in route53 plugin Signed-off-by:Miek Gieben <miek@miek.nl>
-
Miek Gieben authored
Mmark recently became able to create manual pages. This removed the dependency on 'ronn' and just uses mmark (Go program). Re-hookup Makefile.doc to generate the correct header mmark needs to see and regenate them all. Spot checking a few pages suggest they look good and actually better than rendered with ronn, esp. lists in lists. Fixes #2757 Signed-off-by:Miek Gieben <miek@miek.nl>
-
- 05 Apr, 2019 1 commit
-
-
Miek Gieben authored
*proxy* is removed, so this is moot Signed-off-by:Miek Gieben <miek@miek.nl>
-
- 04 Apr, 2019 2 commits
-
-
Chris O'Haver authored
-
John Belamaric authored
-
- 03 Apr, 2019 2 commits
-
-
Miek Gieben authored
Signed-off-by:Miek Gieben <miek@miek.nl>
-
Miek Gieben authored
Signed-off-by:Miek Gieben <miek@miek.nl>
-