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 1f27c582d..f2294fa53 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, m.Compress = true, true, true + m.Authoritative, m.RecursionAvailable = true, true state.SizeAndDo(m) w.WriteMsg(m) @@ -84,7 +84,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, m.Compress = true, true, true + m.Authoritative, m.RecursionAvailable = true, true m.Answer, m.Ns, m.Extra = answer, ns, extra switch result { |