[PR #29] [MERGED] Force TCP for default container DNS #30

Closed
opened 2026-10-15 12:51:26 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/games-on-whales/LXC2Docker/pull/29
Author: @JBailes
Created: 5/17/2026
Status: ✅ Merged
Merged: 5/17/2026
Merged by: @JBailes

Base: main ← Head: fix/container-dns-tcp


📝 Commits (1)

  • ce28f80 fix: force tcp for default container dns

📊 Changes

2 files changed (+7 additions, -2 deletions)

View changed files

📝 internal/lxc/manager.go (+5 -0)
📝 internal/lxc/manager_test.go (+2 -2)

📄 Description

Summary

  • add default resolver options to generated container resolv.conf
  • force TCP DNS lookups with short timeout/attempts on the default DNS path
  • keep explicit Docker DNS configuration unchanged

Testing

  • git diff --check
  • go test ./internal/lxc (fails locally: pkg-config cannot find lxc.pc)

🔄 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/games-on-whales/LXC2Docker/pull/29 **Author:** [@JBailes](https://github.com/JBailes) **Created:** 5/17/2026 **Status:** ✅ Merged **Merged:** 5/17/2026 **Merged by:** [@JBailes](https://github.com/JBailes) **Base:** `main` ← **Head:** `fix/container-dns-tcp` --- ### 📝 Commits (1) - [`ce28f80`](https://github.com/games-on-whales/LXC2Docker/commit/ce28f8000ecb1866a411f097e7e7393a2624f4cf) fix: force tcp for default container dns ### 📊 Changes **2 files changed** (+7 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `internal/lxc/manager.go` (+5 -0) 📝 `internal/lxc/manager_test.go` (+2 -2) </details> ### 📄 Description ## Summary - add default resolver options to generated container resolv.conf - force TCP DNS lookups with short timeout/attempts on the default DNS path - keep explicit Docker DNS configuration unchanged ## Testing - git diff --check - go test ./internal/lxc *(fails locally: pkg-config cannot find lxc.pc)* --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
games-on-whales/LXC2Docker#30
No description provided.