diff options
author | 2016-10-17 18:37:56 +0100 | |
---|---|---|
committer | 2016-10-17 18:37:56 +0100 | |
commit | d536272201b117e18c909a921358fa19dee89f35 (patch) | |
tree | 35bf3d9a118401cb6e51d6bc20e1e7eb3b0b5f95 /core/coredns.go | |
parent | 2eafe3ee94bc4b1e94000bc74f8ee524132ae27c (diff) | |
download | coredns-d536272201b117e18c909a921358fa19dee89f35.tar.gz coredns-d536272201b117e18c909a921358fa19dee89f35.tar.zst coredns-d536272201b117e18c909a921358fa19dee89f35.zip |
middleware/auto: add (#333)
Add auto-load middleware that automatically picks up zones.
Every X seconds it will scan for new zones.
Add tests and documentation.
Make 'make test' use -race.
Diffstat (limited to 'core/coredns.go')
-rw-r--r-- | core/coredns.go | 3 |
1 files changed, 2 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" |