feat(vpn): add VPN DNS mode configuration with systemd-resolved integration#562
Merged
Conversation
…ration Add VPN DNS mode selector to control how VPN DNS servers interact with system DNS resolution, supporting three modes: Not Set, Secondary, and Preferred. DNS mode is applied via systemd-resolved D-Bus API in a dedicated worker thread with Polkit authorization. 新增 VPN DNS 模式配置,支持"不设置/作为备选/作为首选"三种模式, 通过 systemd-resolved D-Bus API 在独立 Worker 线程中应用 DNS 路由, 并使用 Polkit 进行权限认证。 Log: 新增 VPN DNS 模式配置功能 PMS: BUG-355287 Influence: VPN 连接时用户可选择 DNS 解析策略(首选/备选/不设置),影响 VPN 内网域名解析和全局 DNS 走向。
robertkill
approved these changes
Jun 12, 2026
Contributor
Author
|
/merge |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add VPN DNS mode selector to control how VPN DNS servers interact with system DNS resolution, supporting three modes: Not Set, Secondary, and Preferred. DNS mode is applied via systemd-resolved D-Bus API in a dedicated worker thread with Polkit authorization.
新增 VPN DNS 模式配置,支持"不设置/作为备选/作为首选"三种模式,
通过 systemd-resolved D-Bus API 在独立 Worker 线程中应用 DNS 路由, 并使用 Polkit 进行权限认证。
Log: 新增 VPN DNS 模式配置功能
PMS: BUG-355287
Influence: VPN 连接时用户可选择 DNS 解析策略(首选/备选/不设置),影响 VPN 内网域名解析和全局 DNS 走向。