[PR #3632] [MERGED] [client] Handle truncated upstream DNS responses #21033

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/3632
Author: @lixmal
Created: 4/7/2025
Status: Merged
Merged: 4/8/2025
Merged by: @lixmal

Base: mainHead: support-dns-tcp


📝 Commits (3)

  • cf007fc Fallback to TCP if a truncated UDP response is received from upstream DNS
  • 9e40dd9 Merge branch 'main' into support-dns-tcp
  • 357a71c Merge branch 'main' into support-dns-tcp

📊 Changes

5 files changed (+53 additions, -9 deletions)

View changed files

📝 client/internal/dns/upstream.go (+49 -2)
📝 client/internal/dns/upstream_general.go (+1 -2)
📝 client/internal/dns/upstream_ios.go (+1 -1)
📝 client/internal/routemanager/dnsinterceptor/handler.go (+1 -3)
📝 client/internal/routemanager/dynamic/route_ios.go (+1 -1)

📄 Description

Describe your changes

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/3632 **Author:** [@lixmal](https://github.com/lixmal) **Created:** 4/7/2025 **Status:** ✅ Merged **Merged:** 4/8/2025 **Merged by:** [@lixmal](https://github.com/lixmal) **Base:** `main` ← **Head:** `support-dns-tcp` --- ### 📝 Commits (3) - [`cf007fc`](https://github.com/netbirdio/netbird/commit/cf007fc1337e7c3b0e140faa240f510288732b14) Fallback to TCP if a truncated UDP response is received from upstream DNS - [`9e40dd9`](https://github.com/netbirdio/netbird/commit/9e40dd9de2c60f0f78dcb6c6d8acce7a62db2148) Merge branch 'main' into support-dns-tcp - [`357a71c`](https://github.com/netbirdio/netbird/commit/357a71c8ec1fba98782e41ab65f1408c5b216faa) Merge branch 'main' into support-dns-tcp ### 📊 Changes **5 files changed** (+53 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `client/internal/dns/upstream.go` (+49 -2) 📝 `client/internal/dns/upstream_general.go` (+1 -2) 📝 `client/internal/dns/upstream_ios.go` (+1 -1) 📝 `client/internal/routemanager/dnsinterceptor/handler.go` (+1 -3) 📝 `client/internal/routemanager/dynamic/route_ios.go` (+1 -1) </details> ### 📄 Description ## Describe your changes ## Issue ticket number and link ### 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 05:08:00 -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#21033