[PR #5913] [management] use peer fqdn on https #27119

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/5913
Author: @pascal-fischer
Created: 4/17/2026
Status: 🔄 Open

Base: mainHead: feature/use-peer-fqdn-on-https


📝 Commits (4)

📊 Changes

3 files changed (+41 additions, -24 deletions)

View changed files

📝 management/internals/modules/reverseproxy/service/manager/manager.go (+38 -21)
📝 management/internals/server/modules.go (+1 -1)
📝 management/server/http/testing/testing_tools/channel/channel.go (+2 -2)

📄 Description

Describe your changes

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

Summary by CodeRabbit

  • New Features

    • HTTPS peer connections now resolve to DNS-based FQDNs derived from network configuration; non-HTTPS peers continue to use IP addresses.
  • Bug Fixes

    • Improved handling when account settings or peer info cannot be retrieved for secure connections: an unknown-host placeholder is used instead of proceeding with an incorrect host.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/5913 **Author:** [@pascal-fischer](https://github.com/pascal-fischer) **Created:** 4/17/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feature/use-peer-fqdn-on-https` --- ### 📝 Commits (4) - [`8bccbf9`](https://github.com/netbirdio/netbird/commit/8bccbf93043e6ce790add9278003a34bcdc470d7) use peer fqdn on https - [`8ec17da`](https://github.com/netbirdio/netbird/commit/8ec17daf3aa181df8361ee9260ce5a006f346361) fix testing tools - [`569ebb4`](https://github.com/netbirdio/netbird/commit/569ebb400b3ef0759b2adeb26775c1067b70e9b8) fix error handling - [`5a8dbef`](https://github.com/netbirdio/netbird/commit/5a8dbef89b037f724cb7a3428d4f1d1fa2e1a75f) extract peer host method ### 📊 Changes **3 files changed** (+41 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `management/internals/modules/reverseproxy/service/manager/manager.go` (+38 -21) 📝 `management/internals/server/modules.go` (+1 -1) 📝 `management/server/http/testing/testing_tools/channel/channel.go` (+2 -2) </details> ### 📄 Description ## Describe your changes ## Issue ticket number and link ## Stack <!-- branch-stack --> ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [x] 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](https://github.com/netbirdio/netbird/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT.md). ## Documentation Select exactly one: - [ ] I added/updated documentation for this change - [x] 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/__ <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * HTTPS peer connections now resolve to DNS-based FQDNs derived from network configuration; non-HTTPS peers continue to use IP addresses. * **Bug Fixes** * Improved handling when account settings or peer info cannot be retrieved for secure connections: an unknown-host placeholder is used instead of proceeding with an incorrect host. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 07:08:13 -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#27119