Skip to content

[Feature Request] Allow DoH/Custom DNS alongside Remote VPN (WireGuard) routing #684

Description

@PsykoRider

Summary

Currently, when enabling Remote VPN Routing (e.g., using a custom WireGuard configuration), TrackerControl automatically disables/pauses the Secure DNS (DoH) feature. It would be extremely beneficial to allow users to use a custom DoH endpoint (such as NextDNS with profile IDs) concurrently with WireGuard routing.

Use Case

Many users rely on encrypted DNS services like NextDNS using unique DoH endpoints (https://dns.nextdns.io/your_profile_id) to maintain custom blocking rules, logs, and user-bound subscription features.

When routing traffic through a third-party WireGuard tunnel (like Surfshark or Mullvad):

  1. Plain IPv4/IPv6 DNS fallback cannot identify user profile accounts in services like NextDNS (since public VPN IPs are shared and dynamic, making IP linking unfeasible).
  2. Users are forced to choose between TrackerControl's app analysis + remote VPN OR custom DoH filtering, rather than enjoying both.

Proposed Solution / Technical Concept

Allow the local DNS resolution pipeline to resolve queries via the configured DoH resolver before encapsulating the resulting traffic into the WireGuard tunnel, rather than bypassing/pausing DoH when Remote VPN routing is active.

Similar open-source local VPN apps (such as WG tunnel or RethinkDNS) successfully chain local app analysis, custom DoH endpoints, and outbound WireGuard tunnels simultaneously without network loops or DNS leaks.

Alternatives Considered

  • Editing the .conf WireGuard file to use NextDNS plain IPs: Ineffective because shared VPN egress IPs prevent account profile identification on NextDNS.
  • Using external apps like WG Tunnel: Works, but loses TrackerControl’s unique per-app tracker analysis and granular library visibility.

Additional Context

Thank you for your hard work on TrackerControl!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions