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 .
- 30 Mar, 2019 2 commits
-
-
Miek Gieben authored
I can't find what's this code should be doing and it looks like it's not doing anything. Signed-off-by:Miek Gieben <miek@miek.nl>
-
Miek Gieben authored
* plugin/cancel: add context cancelation plugin Per review comments on #2704, move this into a plugin that gets called. Add the most minimal plugin, tests and documenation. Signed-off-by:
Miek Gieben <miek@miek.nl> * plugin/cache: add timeout option review feedback: add option to set custom timeout. Signed-off-by:
Miek Gieben <miek@miek.nl> * spelling Signed-off-by:
Miek Gieben <miek@miek.nl>
-
- 29 Mar, 2019 2 commits
-
-
Miek Gieben authored
Rework this a little to be more inline with the other READMEs Signed-off-by:Miek Gieben <miek@miek.nl>
-
Francois Tur authored
* - add an option for block profiling to plugin pprof * - move option block into nested block
-
- 26 Mar, 2019 5 commits
-
-
Chris O'Haver authored
-
Miek Gieben authored
* Remove context.Context from request.Request This removes the context from request.Request and makes all the changes in the code to make it compile again. It's all mechanical. It did unearth some weirdness in that the context was kept in handler structs which may cause havoc with concurrently handling of requests. Fixes #2721 Signed-off-by:
Miek Gieben <miek@miek.nl> * Make test compile Signed-off-by:
Miek Gieben <miek@miek.nl>
-
Miek Gieben authored
Add another test case for impossible DNS messages which should not be cached. This adds a check for a message that denies its own existence. Fixes #2724. Signed-off-by:Miek Gieben <miek@miek.nl>
-
Miek Gieben authored
* Don't double report metrics on error When there is an error use a different function to report the metrics, in case the plugin chain handled the request the metrics are already reported. Fixes: #2717 Signed-off-by:
Miek Gieben <miek@miek.nl> * Compile again Signed-off-by:
Miek Gieben <miek@miek.nl>
-
Miek Gieben authored
* more Signed-off-by:
Miek Gieben <miek@miek.nl> * Remove server addr from the context This was added twice, just leave the server which also holds the address. Conflicts with #2719 but should be easy to fix. Signed-off-by:
Miek Gieben <miek@miek.nl> * doesn't need server context Signed-off-by:
Miek Gieben <miek@miek.nl>
-
- 25 Mar, 2019 1 commit
-
-
Miek Gieben authored
The server handles this case no need to also do it in the log plugin. Means DefaultErrorFunc can be private to the dnsserver and is now renamed to just errorFunc Fixes: #2715 Signed-off-by:Miek Gieben <miek@miek.nl>
-
- 24 Mar, 2019 2 commits
-
-
Miek Gieben authored
ErrorMessage was a very shallow function that didn't add anything. Remove it and remove its usage. Signed-off-by:Miek Gieben <miek@miek.nl>
-
Miek Gieben authored
*grpc* was added manually; do a go generate to add it, so we don't have future diffs. Signed-off-by:Miek Gieben <miek@miek.nl>
-
- 23 Mar, 2019 2 commits
-
-
peiranliushop authored
-
Jiacheng Xu authored
* Add a GaugeVec for enabled plugins monitoring. Signed-off-by:Jiacheng Xu <xjcmaxwellcjx@gmail.com> * Add server label and zone label for enable_plugin matric. * Add a test for PluginEnabled metric * Add description for enabledPlugin metric. * Change the description for the enabledPlugin metric. * Reset the enabledPlugin metric when restart the server. * Add the bug session for enabledPlugin metric. * Remove the resolveTCPAddr
-
- 22 Mar, 2019 1 commit
-
-
Matt Greenfield authored
-
- 20 Mar, 2019 1 commit
-
-
Miek Gieben authored
* plugin/kubernetes: add ready function Add ready function as the health function is now gone. Signed-off-by:
Miek Gieben <miek@miek.nl> * Fix readme Signed-off-by:
Miek Gieben <miek@miek.nl>
-
- 19 Mar, 2019 1 commit
-
-
Aleks authored
Just fixing some missing `)`
-
- 18 Mar, 2019 1 commit
-
-
MengZeLee authored
* patch setup Use a more streamlined grammar * fix break No need to break out in this for loop
-
- 15 Mar, 2019 1 commit
-
-
Iñigo authored
Fix setup parser. Config params are not being setting.
-
- 14 Mar, 2019 4 commits
-
-
Iñigo authored
* plugin/grpc: New gRPC plugin * some changes after the first review: - remove healthcheck. gRPC already has this implicitly implemented - some naming and stetic changes - fix some comments - other minor fixes * plugin/grpc: New gRPC plugin * some changes after the first review: - remove healthcheck. gRPC already has this implicitly implemented - some naming and stetic changes - fix some comments - other minor fixes * add OWNERS file and change plugin order * remove Rcode checker
-
dilyevsky authored
* [plugin/route53] Support wildcards and other escaped chars. * Fix multiple issues. Add tests. * Cleanup some comments.
-
Stefan Budeanu authored
-
Yong Tang authored
to fix issue #2689 Signed-off-by:Yong Tang <yong.tang.github@outlook.com>
-
- 13 Mar, 2019 6 commits
-
-
Rajveer Malviya authored
-
Miek Gieben authored
* Remove etcd unit testing from travis Remove these from the travis unit testing. (to speed up travis) See #2671 Signed-off-by:
Miek Gieben <miek@miek.nl> * Add build tag Signed-off-by:
Miek Gieben <miek@miek.nl>
-
Yong Tang authored
in order to speed up the go mod Signed-off-by:Yong Tang <yong.tang.github@outlook.com>
-
Miek Gieben authored
Add a simpler example that returns a static string the for metadata. Signed-off-by:Miek Gieben <miek@miek.nl>
-
Miek Gieben authored
Point proxy to the fake deprecated plugin, next release that will be removed as well. Signed-off-by:Miek Gieben <miek@miek.nl>
-
David authored
cleanup modules support, fix DataDog/dd-trace-go probem, add go.mod tidyness check.
-
- 12 Mar, 2019 5 commits
-
-
Miek Gieben authored
This now lives on coredns/proxy Signed-off-by:Miek Gieben <miek@miek.nl>
-
Miek Gieben authored
* Take 3: to get coredns/proxy pulled in This is need temporary because it will point to the fake 'deprecated' plugin anyway. Signed-off-by:
Miek Gieben <miek@miek.nl> * update proxy again Signed-off-by:
Miek Gieben <miek@miek.nl>
-
Miek Gieben authored
Use gopkg.in/DataDog/dd-trace-go.v0 as this is the new home for it Fixes: #2282 Signed-off-by:Miek Gieben <miek@miek.nl>
-
Yong Tang authored
Signed-off-by:Yong Tang <yong.tang.github@outlook.com>
-
Miek Gieben authored
Some more udp/tcp fixes/cleanups have been merged. Run through our gamut of tests. Signed-off-by:Miek Gieben <miek@miek.nl>
-
- 10 Mar, 2019 1 commit
-
-
Miek Gieben authored
This version reverts the worker model that's causes cpu overloads. Signed-off-by:Miek Gieben <miek@miek.nl>
-
- 08 Mar, 2019 5 commits
-
-
Miek Gieben authored
* plugin/health: remove ability to poll other plugins This mechanism defeats the purpose any plugin (mostly) caching can still be alive, we can probably forward queries still. Don't poll plugins, just tell the world we're up and running. It was only actually used in kubernetes; and there specifically would mean any network hiccup would NACK the entire server health. Fixes: #2534 Signed-off-by:
Miek Gieben <miek@miek.nl> * update docs based on feedback Signed-off-by:
Miek Gieben <miek@miek.nl>
-
Miek Gieben authored
Add a ready plugin that allows plugin to signal when they are ready. Once a plugin is ready it is not queried again. This uses same mechanism as the health plugin: each plugin needs to implement an interface. Implement readines for the *erratic* plugin to aid in testing. Add README.md and tests moduled after the health plugin; which will be relegated to just providing process health. In similar vein to health this is a process wide setting. With this Corefile: ~~~ . { erratic whoami ready } bla { erratic whoami } ~~~ ready will lead to: ~~~ sh % curl localhost:8181/ready % dig @localhost -p 1053 mx example.org % curl localhost:8181/ready OK% ~~~ Meanwhile CoreDNS logs: ~~~ .:1053 bla.:1053 2019-02-26T20:59:07.137Z [INFO] CoreDNS-1.3.1 2019-02-26T20:59:07.137Z [INFO] linux/amd64, go1.11.4, CoreDNS-1.3.1 linux/amd64, go1.11.4, 2019-02-26T20:59:11.415Z [INFO] plugin/ready: Still waiting on: "erratic" 2019-02-26T20:59:13.510Z [INFO] plugin/ready: Still waiting on: "erratic" ~~~ *ready* can be used in multiple server blocks and will do the right thing; query all those plugins from all server blocks for readiness. This does a similar thing to the prometheus plugin. Signed-off-by:Miek Gieben <miek@miek.nl>
-
Miek Gieben authored
* Remove internal loop detection I can't actually think of a situation where we can create an internal loop. Sure externally triggered cycles can happen, but this is where the *loop* plugin comes in that detects those. Fixes #2602 Signed-off-by:
Miek Gieben <miek@miek.nl> * Remove test Signed-off-by:
Miek Gieben <miek@miek.nl>
-
Ruslan Drozhdzh authored
-
Xiao An authored
Signed-off-by:Xiao An <hac@zju.edu.cn>
-