Skip to content

Commit

Permalink
Remove DNSSEC parameters and configure AuthenticatedData (#2208)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlsmaycon authored and lixmal committed Jul 3, 2024
1 parent f672675 commit fb99b4e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions client/internal/dns/upstream.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,10 @@ func (u *upstreamResolverBase) ServeDNS(w dns.ResponseWriter, r *dns.Msg) {
}()

log.WithField("question", r.Question[0]).Trace("received an upstream question")
// set the EDNS0 buffer size to 4096 bytes to support larger dns records
// set the AuthenticatedData flag and the EDNS0 buffer size to 4096 bytes to support larger dns records
if r.Extra == nil {
r.SetEdns0(4096, true)
r.SetEdns0(4096, false)
r.MsgHdr.AuthenticatedData = true
}

select {
Expand Down

0 comments on commit fb99b4e

Please sign in to comment.