[client] Always log dns forwader responses#5262
Conversation
📝 WalkthroughWalkthroughThe pull request refactors DNS forwarder's response handling by propagating timing information through the query handler chain, centralizing response writing via a new helper function, and introducing UDP-specific truncation logic through a wrapper. Method signatures are updated to pass timing context throughout. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|

Describe your changes
The forwarder was missing logging for cases like
REFUSEDwhen a domain was queried that was not (yet) configured.Issue ticket number and link
Stack
Checklist
Documentation
Select exactly one:
Docs PR URL (required if "docs added" is checked)
Paste the PR link from https://github.com/netbirdio/docs here:
https://github.com/netbirdio/docs/pull/__
Summary by CodeRabbit