[PR #1975] [MERGED] Fix lost root zone handler #16114

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/1975
Author: @mlsmaycon
Created: 5/13/2024
Status: Merged
Merged: 5/13/2024
Merged by: @mlsmaycon

Base: mainHead: fix/lost-root-handler


📝 Commits (1)

  • da01133 Fix lost root zone handler

📊 Changes

1 file changed (+1 additions, -3 deletions)

View changed files

📝 client/internal/dns/server.go (+1 -3)

📄 Description

Describe your changes

In 0.27.5 we started removing the handler for the root zone in case of a network failure. But when the failure was gone we didn't add the handler back to the local resolver.

This PR adds the handler again fix the issue and add it back to the resolver.

fixes #1969

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/1975 **Author:** [@mlsmaycon](https://github.com/mlsmaycon) **Created:** 5/13/2024 **Status:** ✅ Merged **Merged:** 5/13/2024 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `fix/lost-root-handler` --- ### 📝 Commits (1) - [`da01133`](https://github.com/netbirdio/netbird/commit/da011339c06b203a75cb5f93a220c3257990aa2d) Fix lost root zone handler ### 📊 Changes **1 file changed** (+1 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `client/internal/dns/server.go` (+1 -3) </details> ### 📄 Description ## Describe your changes In 0.27.5 we started removing the handler for the root zone in case of a network failure. But when the failure was gone we didn't add the handler back to the local resolver. This PR adds the handler again fix the issue and add it back to the resolver. ## Issue ticket number and link fixes #1969 ### Checklist - [x] 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:05:44 -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#16114