aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/coredns.go3
-rw-r--r--core/dnsserver/directives.go1
2 files changed, 3 insertions, 1 deletions
diff --git a/core/coredns.go b/core/coredns.go
index 558b03efc..45dffcb37 100644
--- a/core/coredns.go
+++ b/core/coredns.go
@@ -5,7 +5,8 @@ import (
// plug in the server
_ "github.com/miekg/coredns/core/dnsserver"
- // plug in the standard directives
+ // plug in the standard directives (sorted)
+ _ "github.com/miekg/coredns/middleware/auto"
_ "github.com/miekg/coredns/middleware/bind"
_ "github.com/miekg/coredns/middleware/cache"
_ "github.com/miekg/coredns/middleware/chaos"
diff --git a/core/dnsserver/directives.go b/core/dnsserver/directives.go
index 5898f8365..b73c0463e 100644
--- a/core/dnsserver/directives.go
+++ b/core/dnsserver/directives.go
@@ -89,6 +89,7 @@ var directives = []string{
"dnssec",
"file",
+ "auto",
"secondary",
"etcd",
"kubernetes",