[PR #3726] [MERGED] [management] support custom domains per account #18377

Closed
opened 2026-08-05 04:08:26 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/3726
Author: @pascal-fischer
Created: 4/23/2025
Status: Merged
Merged: 4/23/2025
Merged by: @pascal-fischer

Base: mainHead: feature/allow-custom-domain


📝 Commits (5)

📊 Changes

16 files changed (+156 additions, -44 deletions)

View changed files

📝 client/cmd/testutil_test.go (+5 -0)
📝 management/server/account.go (+19 -2)
📝 management/server/account/manager.go (+1 -1)
📝 management/server/activity/codes.go (+4 -0)
📝 management/server/group.go (+9 -2)
📝 management/server/grpcserver.go (+29 -11)
📝 management/server/http/api/openapi.yml (+4 -0)
📝 management/server/http/api/types.gen.go (+3 -1)
📝 management/server/http/handlers/accounts/accounts_handler.go (+4 -0)
📝 management/server/http/handlers/accounts/accounts_handler_test.go (+4 -0)
📝 management/server/http/handlers/peers/peers_handler.go (+21 -4)
📝 management/server/http/handlers/peers/peers_handler_test.go (+4 -1)
📝 management/server/mock_server/account_mock.go (+3 -3)
📝 management/server/peer.go (+35 -18)
📝 management/server/types/settings.go (+4 -0)
📝 management/server/user.go (+7 -1)

📄 Description

Describe your changes

This PR adds support for custom domains. With this change it will now be possible to change the peers FQDN.

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)
  • Extended the README / documentation, if necessary

🔄 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/3726 **Author:** [@pascal-fischer](https://github.com/pascal-fischer) **Created:** 4/23/2025 **Status:** ✅ Merged **Merged:** 4/23/2025 **Merged by:** [@pascal-fischer](https://github.com/pascal-fischer) **Base:** `main` ← **Head:** `feature/allow-custom-domain` --- ### 📝 Commits (5) - [`78e0b4c`](https://github.com/netbirdio/netbird/commit/78e0b4c3e3bfdd59fc41974f2ccde57ff931bb05) support custom domains per account - [`7e9b6d0`](https://github.com/netbirdio/netbird/commit/7e9b6d06867a6dfe616d5591a0625fdbffa725e6) fix mock and mock expects - [`d15d4ba`](https://github.com/netbirdio/netbird/commit/d15d4baf2587d84f12a1f03ba81797ea79575da6) fix tests - [`c4a9bd7`](https://github.com/netbirdio/netbird/commit/c4a9bd75009db0b2d259e89bdcefec3e1892c3bc) fix tests - [`aef2c9c`](https://github.com/netbirdio/netbird/commit/aef2c9c7635411a32846d05a4617ff38cbf3a304) extract preparation of login response ### 📊 Changes **16 files changed** (+156 additions, -44 deletions) <details> <summary>View changed files</summary> 📝 `client/cmd/testutil_test.go` (+5 -0) 📝 `management/server/account.go` (+19 -2) 📝 `management/server/account/manager.go` (+1 -1) 📝 `management/server/activity/codes.go` (+4 -0) 📝 `management/server/group.go` (+9 -2) 📝 `management/server/grpcserver.go` (+29 -11) 📝 `management/server/http/api/openapi.yml` (+4 -0) 📝 `management/server/http/api/types.gen.go` (+3 -1) 📝 `management/server/http/handlers/accounts/accounts_handler.go` (+4 -0) 📝 `management/server/http/handlers/accounts/accounts_handler_test.go` (+4 -0) 📝 `management/server/http/handlers/peers/peers_handler.go` (+21 -4) 📝 `management/server/http/handlers/peers/peers_handler_test.go` (+4 -1) 📝 `management/server/mock_server/account_mock.go` (+3 -3) 📝 `management/server/peer.go` (+35 -18) 📝 `management/server/types/settings.go` (+4 -0) 📝 `management/server/user.go` (+7 -1) </details> ### 📄 Description ## Describe your changes This PR adds support for custom domains. With this change it will now be possible to change the peers FQDN. ## Issue ticket number and link ## Stack <!-- branch-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) - [ ] Extended the README / documentation, if necessary --- <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 04:08:26 -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#18377