aboutsummaryrefslogtreecommitdiff
path: root/plugin/secondary/secondary.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/secondary/secondary.go')
-rw-r--r--plugin/secondary/secondary.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugin/secondary/secondary.go b/plugin/secondary/secondary.go
new file mode 100644
index 000000000..43934e80c
--- /dev/null
+++ b/plugin/secondary/secondary.go
@@ -0,0 +1,10 @@
+// Package secondary implements a secondary plugin.
+package secondary
+
+import "github.com/coredns/coredns/plugin/file"
+
+// Secondary implements a secondary plugin that allows CoreDNS to retrieve (via AXFR)
+// zone information from a primary server.
+type Secondary struct {
+ file.File
+}