aboutsummaryrefslogtreecommitdiff
path: root/coredns.go
diff options
context:
space:
mode:
Diffstat (limited to 'coredns.go')
-rw-r--r--coredns.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/coredns.go b/coredns.go
index aa9e20818..5b3fa2b8f 100644
--- a/coredns.go
+++ b/coredns.go
@@ -2,7 +2,12 @@ package main
//go:generate go run directives_generate.go
-import "github.com/coredns/coredns/coremain"
+import (
+ "github.com/coredns/coredns/coremain"
+
+ // Plug in CoreDNS
+ _ "github.com/coredns/coredns/core/plugin"
+)
func main() {
coremain.Run()