[PR #3790] [MERGED] [client] Add TCP support to DNS service listener #18550

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/3790
Author: @hakansa
Created: 5/6/2025
Status: Merged
Merged: 5/9/2025
Merged by: @hakansa

Base: mainHead: feat/dns-service-tcp


📝 Commits (6)

  • e7c4cb9 Add TCP support to DNS service listener and improve listener management
  • 428c074 Add TCP support to DNS forwarder and enhance query handling
  • 3043e4d Refactor DNS forwarder initialization to streamline server setup for UDP and TCP
  • 6c3eebe Enhance DNS forwarder to support TCP rules and improve error logging for DNS queries
  • aadebad Refactor DNS service listener to improve listener management and streamline server status handling
  • faa5d85 Improve error handling in DNS forwarder by formatting error return and enhancing logging for query resolution failures

📊 Changes

2 files changed (+98 additions, -20 deletions)

View changed files

📝 client/internal/dnsfwd/forwarder.go (+84 -20)
📝 client/internal/dnsfwd/manager.go (+14 -0)

📄 Description

Describe your changes

[client] Add TCP support to DNS service listener

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/3790 **Author:** [@hakansa](https://github.com/hakansa) **Created:** 5/6/2025 **Status:** ✅ Merged **Merged:** 5/9/2025 **Merged by:** [@hakansa](https://github.com/hakansa) **Base:** `main` ← **Head:** `feat/dns-service-tcp` --- ### 📝 Commits (6) - [`e7c4cb9`](https://github.com/netbirdio/netbird/commit/e7c4cb99a040ab8d867ab48249b8a870523d8f5d) Add TCP support to DNS service listener and improve listener management - [`428c074`](https://github.com/netbirdio/netbird/commit/428c0742a9d8011d207830516c006d818dfbc2c8) Add TCP support to DNS forwarder and enhance query handling - [`3043e4d`](https://github.com/netbirdio/netbird/commit/3043e4d6b5dcdc727a6996f7bd7e5e266ad26b3d) Refactor DNS forwarder initialization to streamline server setup for UDP and TCP - [`6c3eebe`](https://github.com/netbirdio/netbird/commit/6c3eebe6622f5de21dfb1d1973886aedfe2eaf0e) Enhance DNS forwarder to support TCP rules and improve error logging for DNS queries - [`aadebad`](https://github.com/netbirdio/netbird/commit/aadebaddc5c06993841ceea6eecd3411e0abe5a1) Refactor DNS service listener to improve listener management and streamline server status handling - [`faa5d85`](https://github.com/netbirdio/netbird/commit/faa5d85278bdae9fcaee6f8cf93df5ded1463ee2) Improve error handling in DNS forwarder by formatting error return and enhancing logging for query resolution failures ### 📊 Changes **2 files changed** (+98 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `client/internal/dnsfwd/forwarder.go` (+84 -20) 📝 `client/internal/dnsfwd/manager.go` (+14 -0) </details> ### 📄 Description ## Describe your changes [client] Add TCP support to DNS service listener ## 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) - [ ] 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:38 -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#18550