mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #3453] DNS support in WireGuard outbound #2348
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#2348
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @REZZSAR on GitHub (Sep 11, 2025).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3453
Is your feature request related to a problem?
Currently, the WireGuard outbound configuration does not allow specifying a DNS server.
Without this option, system or application resolvers may continue using the default DNS outside the tunnel, which can lead to DNS leaks. This undermines privacy and defeats one of the main purposes of using a VPN tunnel.
Describe the solution you'd like
Add support for a DNS field in the WireGuard outbound configuration, similar to the DNS option in the native WireGuard [Interface] section.
This would ensure DNS queries are routed through the tunnel, prevent leaks, and allow users to define custom/private resolvers (e.g., Unbound, AdGuardHome, encrypted DNS services).
Describe alternatives you've considered
No response
Checklist
@johnmcclane25 commented on GitHub (Sep 25, 2025):
+1, also noticed that this param is missed and nice to have it.