aboutsummaryrefslogtreecommitdiff
path: root/core/coredns.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/coredns.go')
-rw-r--r--core/coredns.go26
1 files changed, 26 insertions, 0 deletions
diff --git a/core/coredns.go b/core/coredns.go
new file mode 100644
index 000000000..e770a1a30
--- /dev/null
+++ b/core/coredns.go
@@ -0,0 +1,26 @@
+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/health"
+ _ "github.com/miekg/coredns/middleware/pprof"
+
+ _ "github.com/miekg/coredns/middleware/errors"
+ _ "github.com/miekg/coredns/middleware/loadbalance"
+ _ "github.com/miekg/coredns/middleware/log"
+ _ "github.com/miekg/coredns/middleware/metrics"
+ _ "github.com/miekg/coredns/middleware/rewrite"
+
+ _ "github.com/miekg/coredns/middleware/cache"
+ _ "github.com/miekg/coredns/middleware/chaos"
+ _ "github.com/miekg/coredns/middleware/dnssec"
+ _ "github.com/miekg/coredns/middleware/etcd"
+ _ "github.com/miekg/coredns/middleware/file"
+ _ "github.com/miekg/coredns/middleware/kubernetes"
+ _ "github.com/miekg/coredns/middleware/proxy"
+ _ "github.com/miekg/coredns/middleware/secondary"
+)