aboutsummaryrefslogtreecommitdiff
path: root/plugin/etcd/handler.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/etcd/handler.go')
-rw-r--r--plugin/etcd/handler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/etcd/handler.go b/plugin/etcd/handler.go
index 06dae1e9b..6d2a7a2bf 100644
--- a/plugin/etcd/handler.go
+++ b/plugin/etcd/handler.go
@@ -67,7 +67,7 @@ func (e *Etcd) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (
}
if e.IsNameError(err) {
- if e.Fallthrough {
+ if e.Fall.Through(state.Name()) {
return plugin.NextOrFailure(e.Name(), e.Next, ctx, w, r)
}
// Make err nil when returning here, so we don't log spam for NXDOMAIN.