Skip to content
Snippets Groups Projects

Handle empty DNS reply without error as NOERROR

Merged Daniel Winzen requested to merge DanWin/tor:empty-dns into main
1 unresolved thread

This re-introduces an error code to handle returning empty DNS replies instead of sending NXDOMAIN error, which fixes resolving IPv6 only destinations when first sending an A type DNS request, as most applications do. As discussed in #40984 (closed) the previous commit was reverted. This is the exact same code as the previously merged one, but as suggested in the issue uses an error code outside the 0-255 range, which is safe for internal use in the C Tor implementation. Fixes #40248 (closed)

Edited by Daniel Winzen

Merge request reports

Merged by David GouletDavid Goulet 3 weeks ago (Mar 27, 2025 5:08pm UTC)

Loading

Pipeline #262610 failed

Pipeline failed for 13cb056a on main

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading