aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/coredns.go1
-rw-r--r--core/dnsserver/directives.go1
2 files changed, 2 insertions, 0 deletions
diff --git a/core/coredns.go b/core/coredns.go
index c74f7b0a5..0ef1789b1 100644
--- a/core/coredns.go
+++ b/core/coredns.go
@@ -11,6 +11,7 @@ import (
_ "github.com/miekg/coredns/middleware/cache"
_ "github.com/miekg/coredns/middleware/chaos"
_ "github.com/miekg/coredns/middleware/dnssec"
+ _ "github.com/miekg/coredns/middleware/erratic"
_ "github.com/miekg/coredns/middleware/errors"
_ "github.com/miekg/coredns/middleware/etcd"
_ "github.com/miekg/coredns/middleware/file"
diff --git a/core/dnsserver/directives.go b/core/dnsserver/directives.go
index 35e01b692..4d80331b8 100644
--- a/core/dnsserver/directives.go
+++ b/core/dnsserver/directives.go
@@ -96,4 +96,5 @@ var directives = []string{
"proxy",
"httpproxy",
"whoami",
+ "erratic",
}