diff options
Diffstat (limited to 'plugin/file/file.go')
-rw-r--r-- | plugin/file/file.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/file/file.go b/plugin/file/file.go index 57ce3fd17..0010f0811 100644 --- a/plugin/file/file.go +++ b/plugin/file/file.go @@ -50,7 +50,7 @@ func (f File) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (i if z.isNotify(state) { m := new(dns.Msg) m.SetReply(r) - m.Authoritative, m.RecursionAvailable = true, true + m.Authoritative = true w.WriteMsg(m) log.Infof("Notify from %s for %s: checking transfer", state.IP(), zone) @@ -83,7 +83,7 @@ func (f File) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (i m := new(dns.Msg) m.SetReply(r) - m.Authoritative, m.RecursionAvailable = true, true + m.Authoritative = true m.Answer, m.Ns, m.Extra = answer, ns, extra switch result { |