aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/coredns.go1
-rw-r--r--core/dnsserver/zdirectives.go1
2 files changed, 2 insertions, 0 deletions
diff --git a/core/coredns.go b/core/coredns.go
index d7043c804..b621f2c27 100644
--- a/core/coredns.go
+++ b/core/coredns.go
@@ -25,6 +25,7 @@ import (
_ "github.com/miekg/coredns/middleware/metrics"
_ "github.com/miekg/coredns/middleware/pprof"
_ "github.com/miekg/coredns/middleware/proxy"
+ _ "github.com/miekg/coredns/middleware/reverse"
_ "github.com/miekg/coredns/middleware/rewrite"
_ "github.com/miekg/coredns/middleware/root"
_ "github.com/miekg/coredns/middleware/secondary"
diff --git a/core/dnsserver/zdirectives.go b/core/dnsserver/zdirectives.go
index a55461854..ff6722998 100644
--- a/core/dnsserver/zdirectives.go
+++ b/core/dnsserver/zdirectives.go
@@ -29,6 +29,7 @@ var directives = []string{
"secondary",
"etcd",
"kubernetes",
+ "reverse",
"proxy",
"httpprox",
"whoami",