Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jmurret committed Feb 21, 2024
1 parent fbe92df commit 1e85c5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/dns.go
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ func (d *DNSServer) handlePtr(resp dns.ResponseWriter, req *dns.Msg) {
m.SetReply(req)
m.Compress = !cfg.DisableCompression
m.Authoritative = true
recursionAvailable := len(cfg.Recursors) > 0 && atomic.LoadUint32(&(d.recursorEnabled)) != 1
recursionAvailable := atomic.LoadUint32(&(d.recursorEnabled)) != 1
m.RecursionAvailable = recursionAvailable

// Only add the SOA if requested
Expand Down

0 comments on commit 1e85c5c

Please sign in to comment.