This PR adds the *root* middleware that specifies a path where all zone file (the *file* middleware is the only consumer now) can be found. It works the same as in Caddy. Documentation can be found in the README.md of the middleware. Fixes #307
27 lines
1 KiB
Go
27 lines
1 KiB
Go
// Package core registers the server and all plugins we support.
|
|
package core
|
|
|
|
import (
|
|
// plug in the server
|
|
_ "github.com/miekg/coredns/core/dnsserver"
|
|
|
|
// plug in the standard directives
|
|
_ "github.com/miekg/coredns/middleware/bind"
|
|
_ "github.com/miekg/coredns/middleware/cache"
|
|
_ "github.com/miekg/coredns/middleware/chaos"
|
|
_ "github.com/miekg/coredns/middleware/dnssec"
|
|
_ "github.com/miekg/coredns/middleware/errors"
|
|
_ "github.com/miekg/coredns/middleware/etcd"
|
|
_ "github.com/miekg/coredns/middleware/file"
|
|
_ "github.com/miekg/coredns/middleware/health"
|
|
_ "github.com/miekg/coredns/middleware/kubernetes"
|
|
_ "github.com/miekg/coredns/middleware/loadbalance"
|
|
_ "github.com/miekg/coredns/middleware/log"
|
|
_ "github.com/miekg/coredns/middleware/metrics"
|
|
_ "github.com/miekg/coredns/middleware/pprof"
|
|
_ "github.com/miekg/coredns/middleware/proxy"
|
|
_ "github.com/miekg/coredns/middleware/rewrite"
|
|
_ "github.com/miekg/coredns/middleware/root"
|
|
_ "github.com/miekg/coredns/middleware/secondary"
|
|
_ "github.com/miekg/coredns/middleware/whoami"
|
|
)
|