diff options
Diffstat (limited to 'plugin/cache/handler.go')
-rw-r--r-- | plugin/cache/handler.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/cache/handler.go b/plugin/cache/handler.go index ebd87d659..f3f2e675b 100644 --- a/plugin/cache/handler.go +++ b/plugin/cache/handler.go @@ -19,7 +19,7 @@ func (c *Cache) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) qtype := state.QType() zone := plugin.Zones(c.Zones).Matches(qname) if zone == "" { - return c.Next.ServeDNS(ctx, w, r) + return plugin.NextOrFailure(c.Name(), c.Next, ctx, w, r) } do := state.Do() // TODO(): might need more from OPT record? Like the actual bufsize? |