Skip to content

Commit

Permalink
fix: noad flag
Browse files Browse the repository at this point in the history
  • Loading branch information
semihalev committed Feb 17, 2024
1 parent e405631 commit 804bef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middleware/edns/edns.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func (e *EDNS) ServeDNS(ctx context.Context, ch *middleware.Chain) {
cookie: cookie,
noedns: noedns,
nsid: nsid,
noad: !req.AuthenticatedData,
noad: !req.AuthenticatedData && !do,
}

ch.Next(ctx)
Expand Down

0 comments on commit 804bef9

Please sign in to comment.