aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugin/dns64/dns64.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/dns64/dns64.go b/plugin/dns64/dns64.go
index 9f426eb87..0a6176fcf 100644
--- a/plugin/dns64/dns64.go
+++ b/plugin/dns64/dns64.go
@@ -36,7 +36,7 @@ type DNS64 struct {
func (d *DNS64) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (int, error) {
// Don't proxy if we don't need to.
if !d.requestShouldIntercept(&request.Request{W: w, Req: r}) {
- return d.Next.ServeDNS(ctx, w, r)
+ return plugin.NextOrFailure(d.Name(), d.Next, ctx, w, r)
}
// Pass the request to the next plugin in the chain, but intercept the response.