Skip to content

feat(vpn): add VPN DNS mode configuration with systemd-resolved integration#562

Merged
deepin-bot[bot] merged 1 commit into
linuxdeepin:masterfrom
52cyb:master
Jun 12, 2026
Merged

feat(vpn): add VPN DNS mode configuration with systemd-resolved integration#562
deepin-bot[bot] merged 1 commit into
linuxdeepin:masterfrom
52cyb:master

Conversation

@52cyb

@52cyb 52cyb commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

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 走向。

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @52cyb, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

…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 走向。
@52cyb

52cyb commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

/merge

@deepin-bot deepin-bot Bot merged commit 3ddfb9a into linuxdeepin:master Jun 12, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants