aboutsummaryrefslogtreecommitdiff
path: root/plugin/cache/handler.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/cache/handler.go')
-rw-r--r--plugin/cache/handler.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugin/cache/handler.go b/plugin/cache/handler.go
index 11e1323f6..a44a4ec3b 100644
--- a/plugin/cache/handler.go
+++ b/plugin/cache/handler.go
@@ -31,8 +31,6 @@ func (c *Cache) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg)
if i != nil && found {
resp := i.toMsg(r, now)
- state.SizeAndDo(resp)
- resp, _ = state.Scrub(resp)
w.WriteMsg(resp)
if c.prefetch > 0 {