[PR #1224] [MERGED] Add search domains support #13420

Open
opened 2026-08-05 02:08:22 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/1224
Author: @mlsmaycon
Created: 10/16/2023
Status: Merged
Merged: 10/19/2023
Merged by: @mlsmaycon

Base: mainHead: add-search-domains-support


📝 Commits (4)

  • bf6c0e4 Add search domains support for nameserver groups
  • 58a46eb rename search domains enabled
  • 2cf3dd9 fix windows registry key configuration for search domains
  • 87d99d5 remove unused field

📊 Changes

15 files changed (+179 additions, -189 deletions)

View changed files

📝 client/internal/dns/host.go (+1 -1)
📝 client/internal/dns/host_windows.go (+4 -55)
📝 client/internal/engine.go (+3 -2)
📝 dns/nameserver.go (+12 -8)
📝 management/proto/management.pb.go (+80 -69)
📝 management/proto/management.proto (+1 -0)
📝 management/server/account.go (+1 -1)
📝 management/server/dns.go (+3 -2)
📝 management/server/http/api/openapi.yml (+6 -1)
📝 management/server/http/api/types.gen.go (+9 -3)
📝 management/server/http/nameservers_handler.go (+19 -17)
📝 management/server/http/nameservers_handler_test.go (+10 -9)
📝 management/server/mock_server/account_mock.go (+3 -3)
📝 management/server/nameserver.go (+18 -11)
📝 management/server/nameserver_test.go (+9 -7)

📄 Description

Describe your changes

Supporting search domains will allow admins to define match domains to be added to a list of search domains in the NetBird peers.

#828 #988

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/1224 **Author:** [@mlsmaycon](https://github.com/mlsmaycon) **Created:** 10/16/2023 **Status:** ✅ Merged **Merged:** 10/19/2023 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `add-search-domains-support` --- ### 📝 Commits (4) - [`bf6c0e4`](https://github.com/netbirdio/netbird/commit/bf6c0e45006798622f08e8b9cba70e2976141a48) Add search domains support for nameserver groups - [`58a46eb`](https://github.com/netbirdio/netbird/commit/58a46eb2fb63b70d08eb5bc2cd19c984595bac1a) rename search domains enabled - [`2cf3dd9`](https://github.com/netbirdio/netbird/commit/2cf3dd967d2584331edb094ef0fa711bb270329a) fix windows registry key configuration for search domains - [`87d99d5`](https://github.com/netbirdio/netbird/commit/87d99d5b9f05f80d4295b0580fd8ea9da9c8b9c4) remove unused field ### 📊 Changes **15 files changed** (+179 additions, -189 deletions) <details> <summary>View changed files</summary> 📝 `client/internal/dns/host.go` (+1 -1) 📝 `client/internal/dns/host_windows.go` (+4 -55) 📝 `client/internal/engine.go` (+3 -2) 📝 `dns/nameserver.go` (+12 -8) 📝 `management/proto/management.pb.go` (+80 -69) 📝 `management/proto/management.proto` (+1 -0) 📝 `management/server/account.go` (+1 -1) 📝 `management/server/dns.go` (+3 -2) 📝 `management/server/http/api/openapi.yml` (+6 -1) 📝 `management/server/http/api/types.gen.go` (+9 -3) 📝 `management/server/http/nameservers_handler.go` (+19 -17) 📝 `management/server/http/nameservers_handler_test.go` (+10 -9) 📝 `management/server/mock_server/account_mock.go` (+3 -3) 📝 `management/server/nameserver.go` (+18 -11) 📝 `management/server/nameserver_test.go` (+9 -7) </details> ### 📄 Description ## Describe your changes Supporting search domains will allow admins to define match domains to be added to a list of search domains in the NetBird peers. ## Issue ticket number and link #828 #988 ### 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) - [ ] 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 02:08:22 -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#13420