[PR #5706] [client] Add IPv6 routing, fake IPs, and DNS bind selection #23721

Open
opened 2026-08-05 06:07:46 -04:00 by saavagebueno · 0 comments
Owner

Original Pull Request: https://github.com/netbirdio/netbird/pull/5706

State: closed
Merged: Yes


Describe your changes

  • Extend forwarder endpoint/ICMP/TCP/UDP handlers for IPv6 address formatting and dual-stack support
  • Add IPv6 fake IP allocation and mapping in fakeip package with tests
  • DNS upstream: bind per-interface/address instead of global, with platform-specific selection (Android, iOS, general)
  • Route manager: handle IPv6 prefixes in dynamic routes and DNS interceptor
  • Anonymizer: update IPv6 output formatting in tests
  • System route ops: add IPv6 loopback handling and forwarding checks on Linux

Stacked on #5688.

Stack

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)

By submitting this pull request, you confirm that you have read and agree to the terms of the Contributor License Agreement.

Documentation

Select exactly one:

  • I added/updated documentation for this change
  • Documentation is not needed for this change (explain why)

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/667

**Original Pull Request:** https://github.com/netbirdio/netbird/pull/5706 **State:** closed **Merged:** Yes --- ## Describe your changes - Extend forwarder endpoint/ICMP/TCP/UDP handlers for IPv6 address formatting and dual-stack support - Add IPv6 fake IP allocation and mapping in `fakeip` package with tests - DNS upstream: bind per-interface/address instead of global, with platform-specific selection (Android, iOS, general) - Route manager: handle IPv6 prefixes in dynamic routes and DNS interceptor - Anonymizer: update IPv6 output formatting in tests - System route ops: add IPv6 loopback handling and forwarding checks on Linux Stacked on #5688. ## Issue ticket number and link ## Stack - #5631 - #5675 - #5686 - #5687 - #5688 - #5706 :point_left: - #5707 - #5708 ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [x] Is a feature enhancement - [ ] It is a refactor - [x] Created tests that fail without the change (if possible) > By submitting this pull request, you confirm that you have read and agree to the terms of the [Contributor License Agreement](https://github.com/netbirdio/netbird/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT.md). ## Documentation Select exactly one: - [x] I added/updated documentation for this change - [ ] Documentation is **not needed** for this change (explain why) ### 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/667
saavagebueno added the pull-request label 2026-08-05 06:07:46 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#23721