[PR #3324] [MERGED] resolver: retrieve system conf through system api on apple platforms #3748

Closed
opened 2026-03-16 12:00:30 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hickory-dns/hickory-dns/pull/3324
Author: @lemon-sh
Created: 10/21/2025
Status: Merged
Merged: 10/22/2025
Merged by: @djc

Base: mainHead: apple


📝 Commits (1)

  • 8c24d31 resolver: retrieve system conf through system api on apple platforms

📊 Changes

5 files changed (+117 additions, -10 deletions)

View changed files

📝 Cargo.lock (+39 -7)
📝 Cargo.toml (+1 -0)
📝 crates/resolver/Cargo.toml (+4 -1)
crates/resolver/src/system_conf/apple.rs (+63 -0)
📝 crates/resolver/src/system_conf/mod.rs (+10 -2)

📄 Description

Uses the SCDynamicStore API through the system-configuration crate to get system DNS configuration. I've tested this on iOS 26 and macOS 26.

Closes: #3317


🔄 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/hickory-dns/hickory-dns/pull/3324 **Author:** [@lemon-sh](https://github.com/lemon-sh) **Created:** 10/21/2025 **Status:** ✅ Merged **Merged:** 10/22/2025 **Merged by:** [@djc](https://github.com/djc) **Base:** `main` ← **Head:** `apple` --- ### 📝 Commits (1) - [`8c24d31`](https://github.com/hickory-dns/hickory-dns/commit/8c24d3190190e31f85b4c351c1c36cf7c690dbfc) resolver: retrieve system conf through system api on apple platforms ### 📊 Changes **5 files changed** (+117 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+39 -7) 📝 `Cargo.toml` (+1 -0) 📝 `crates/resolver/Cargo.toml` (+4 -1) ➕ `crates/resolver/src/system_conf/apple.rs` (+63 -0) 📝 `crates/resolver/src/system_conf/mod.rs` (+10 -2) </details> ### 📄 Description Uses the [`SCDynamicStore`](https://developer.apple.com/documentation/systemconfiguration/scdynamicstore-gb2) API through the `system-configuration` crate to get system DNS configuration. I've tested this on iOS 26 and macOS 26. Closes: #3317 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 12:00:30 +03:00
Sign in to join this conversation.
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
starred/hickory-dns#3748
No description provided.