Allow specifying a primary server and retrieve the zone's content. Add tests and an Expired bool to zone struct, to stop server zones that are expired. The zone is retrieved on Startup, no updates of changed content are done. We also don't respond to notifies yet.
7 lines
107 B
Go
7 lines
107 B
Go
package secondary
|
|
|
|
import "github.com/miekg/coredns/middleware/file"
|
|
|
|
type Secondary struct {
|
|
file.File
|
|
}
|