[PR #128] [MERGED] Pull system dns #2496

Closed
opened 2026-07-12 11:59:13 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fosrl/olm/pull/128
Author: @oschwartz10612
Created: 7/8/2026
Status: Merged
Merged: 7/8/2026
Merged by: @oschwartz10612

Base: mainHead: dev


📝 Commits (10+)

  • efc012b Groundwork for monitoring and updating the dns
  • 7a88fac Test the dns server first then fall back
  • f356aed Add ios stub
  • 4c600ba Add some logging
  • 1f301db Mod tidy
  • 7b07745 Fix windows only pulling dhcp
  • 1920f52 Also check network manager on linux
  • 0cf5eb2 Adjust darwin to use sysctl
  • 929f183 Improve linux to use networkmanager correctly
  • b39be4f Update newt

📊 Changes

17 files changed (+1264 additions, -36 deletions)

View changed files

📝 dns/dns_proxy.go (+10 -0)
📝 dns/platform/network_manager.go (+234 -6)
dns/sysresolver.go (+274 -0)
dns/sysresolver_android.go (+18 -0)
dns/sysresolver_darwin.go (+116 -0)
dns/sysresolver_darwin_nosysresolver.go (+17 -0)
dns/sysresolver_ios.go (+18 -0)
dns/sysresolver_linux.go (+129 -0)
dns/sysresolver_stub.go (+23 -0)
dns/sysresolver_test.go (+149 -0)
dns/sysresolver_windows.go (+110 -0)
📝 go.mod (+5 -5)
📝 go.sum (+10 -10)
📝 olm/connect.go (+8 -0)
📝 olm/olm.go (+111 -11)
📝 peers/manager.go (+15 -0)
📝 peers/monitor/monitor.go (+17 -4)

📄 Description

  • Groundwork for monitoring and updating the dns
  • Test the dns server first then fall back
  • Add ios stub
  • Add some logging
  • Mod tidy
  • Fix windows only pulling dhcp
  • Also check network manager on linux
  • Adjust darwin to use sysctl
  • Improve linux to use networkmanager correctly

🔄 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/fosrl/olm/pull/128 **Author:** [@oschwartz10612](https://github.com/oschwartz10612) **Created:** 7/8/2026 **Status:** ✅ Merged **Merged:** 7/8/2026 **Merged by:** [@oschwartz10612](https://github.com/oschwartz10612) **Base:** `main` ← **Head:** `dev` --- ### 📝 Commits (10+) - [`efc012b`](https://github.com/fosrl/olm/commit/efc012b43d7562432ba0aee5895f898bbcd0b54e) Groundwork for monitoring and updating the dns - [`7a88fac`](https://github.com/fosrl/olm/commit/7a88fac3954714279c43769a8a429fac9c41b382) Test the dns server first then fall back - [`f356aed`](https://github.com/fosrl/olm/commit/f356aed39bad366242562ec1fa757a5336747c63) Add ios stub - [`4c600ba`](https://github.com/fosrl/olm/commit/4c600bab15476a306343d56d96b80d6f0dd6124c) Add some logging - [`1f301db`](https://github.com/fosrl/olm/commit/1f301db892f4c36469cb4cbb99251d714a63735f) Mod tidy - [`7b07745`](https://github.com/fosrl/olm/commit/7b077456500c97d6986e98adc8c0bee60f45e016) Fix windows only pulling dhcp - [`1920f52`](https://github.com/fosrl/olm/commit/1920f526992f8d00c88ff331817586d69b26a802) Also check network manager on linux - [`0cf5eb2`](https://github.com/fosrl/olm/commit/0cf5eb2ad0fddecca255b94afaaf64f58b96657a) Adjust darwin to use sysctl - [`929f183`](https://github.com/fosrl/olm/commit/929f183ed07e7a7fe22c037796e5136815da43cd) Improve linux to use networkmanager correctly - [`b39be4f`](https://github.com/fosrl/olm/commit/b39be4f5b0db82dfb7cf7a386c331c1f9be78968) Update newt ### 📊 Changes **17 files changed** (+1264 additions, -36 deletions) <details> <summary>View changed files</summary> 📝 `dns/dns_proxy.go` (+10 -0) 📝 `dns/platform/network_manager.go` (+234 -6) ➕ `dns/sysresolver.go` (+274 -0) ➕ `dns/sysresolver_android.go` (+18 -0) ➕ `dns/sysresolver_darwin.go` (+116 -0) ➕ `dns/sysresolver_darwin_nosysresolver.go` (+17 -0) ➕ `dns/sysresolver_ios.go` (+18 -0) ➕ `dns/sysresolver_linux.go` (+129 -0) ➕ `dns/sysresolver_stub.go` (+23 -0) ➕ `dns/sysresolver_test.go` (+149 -0) ➕ `dns/sysresolver_windows.go` (+110 -0) 📝 `go.mod` (+5 -5) 📝 `go.sum` (+10 -10) 📝 `olm/connect.go` (+8 -0) 📝 `olm/olm.go` (+111 -11) 📝 `peers/manager.go` (+15 -0) 📝 `peers/monitor/monitor.go` (+17 -4) </details> ### 📄 Description - **Groundwork for monitoring and updating the dns** - **Test the dns server first then fall back** - **Add ios stub** - **Add some logging** - **Mod tidy** - **Fix windows only pulling dhcp** - **Also check network manager on linux** - **Adjust darwin to use sysctl** - **Improve linux to use networkmanager correctly** --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-07-12 11:59:13 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/olm#2496