Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugin/dns64/dns64.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down