aboutsummaryrefslogtreecommitdiff
path: root/plugin/hosts/hosts.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/hosts/hosts.go')
-rw-r--r--plugin/hosts/hosts.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugin/hosts/hosts.go b/plugin/hosts/hosts.go
index c9ce163c9..4041b384c 100644
--- a/plugin/hosts/hosts.go
+++ b/plugin/hosts/hosts.go
@@ -66,8 +66,6 @@ func (h Hosts) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (
m.Authoritative, m.RecursionAvailable = true, true
m.Answer = answers
- state.SizeAndDo(m)
- m, _ = state.Scrub(m)
w.WriteMsg(m)
return dns.RcodeSuccess, nil
}