aboutsummaryrefslogtreecommitdiff
path: root/plugin/etcd
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/etcd')
-rw-r--r--plugin/etcd/xfr.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugin/etcd/xfr.go b/plugin/etcd/xfr.go
index 43a734cf9..fcb8dda07 100644
--- a/plugin/etcd/xfr.go
+++ b/plugin/etcd/xfr.go
@@ -4,6 +4,8 @@ import (
"time"
"github.com/coredns/coredns/request"
+ "github.com/miekg/dns"
+ "golang.org/x/net/context"
)
// Serial implements the Transferer interface.
@@ -15,3 +17,8 @@ func (e *Etcd) Serial(state request.Request) uint32 {
func (e *Etcd) MinTTL(state request.Request) uint32 {
return 30
}
+
+// Transfer implements the Transferer interface.
+func (e *Etcd) Transfer(ctx context.Context, state request.Request) (int, error) {
+ return dns.RcodeServerFailure, nil
+}