aboutsummaryrefslogtreecommitdiff
path: root/plugin/secondary/secondary.go
blob: 809edadbd06403ec9ab5308845dc208b5fecda74 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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
}

// Name implements the Handler interface.
func (s Secondary) Name() string { return "secondary" }