Commit 2e894eb0 authored by Miek Gieben's avatar Miek Gieben Committed by GitHub

plugin/reload: disable for now (#1511)

Reloading should work (kill -TERM reload the coredns process), but a lot
of plugins can't handle it proper. Disable to reload plugin until we fix
(most) of the plugins
parent 006ce4d5
...@@ -11,7 +11,6 @@ package dnsserver ...@@ -11,7 +11,6 @@ package dnsserver
// care what plugin above them are doing. // care what plugin above them are doing.
var Directives = []string{ var Directives = []string{
"tls", "tls",
"reload",
"nsid", "nsid",
"root", "root",
"bind", "bind",
......
...@@ -27,7 +27,6 @@ import ( ...@@ -27,7 +27,6 @@ import (
_ "github.com/coredns/coredns/plugin/nsid" _ "github.com/coredns/coredns/plugin/nsid"
_ "github.com/coredns/coredns/plugin/pprof" _ "github.com/coredns/coredns/plugin/pprof"
_ "github.com/coredns/coredns/plugin/proxy" _ "github.com/coredns/coredns/plugin/proxy"
_ "github.com/coredns/coredns/plugin/reload"
_ "github.com/coredns/coredns/plugin/reverse" _ "github.com/coredns/coredns/plugin/reverse"
_ "github.com/coredns/coredns/plugin/rewrite" _ "github.com/coredns/coredns/plugin/rewrite"
_ "github.com/coredns/coredns/plugin/root" _ "github.com/coredns/coredns/plugin/root"
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
# log:log # log:log
tls:tls tls:tls
reload:reload #reload:reload # enable by reverting #1511
nsid:nsid nsid:nsid
root:root root:root
bind:bind bind:bind
......
...@@ -42,7 +42,7 @@ reload [INTERVAL] [JITTER] ...@@ -42,7 +42,7 @@ reload [INTERVAL] [JITTER]
Check with the default intervals: Check with the default intervals:
~~~ corefile ~~~ txt
. { . {
reload reload
erratic erratic
...@@ -51,7 +51,7 @@ Check with the default intervals: ...@@ -51,7 +51,7 @@ Check with the default intervals:
Check every 10 seconds (jitter is automatically set to 10 / 2 = 5 in this case): Check every 10 seconds (jitter is automatically set to 10 / 2 = 5 in this case):
~~~ corefile ~~~ txt
. { . {
reload 10s reload 10s
erratic erratic
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment