Skip to content

[Feature Request] Add "Disable IPv6" toggle in Client App to prevent AAAA connection drops #15

Description

@proxi9

Feature Description

Add a configuration option/toggle Disable IPv6 (or Block AAAA Queries) directly in the MasterDnsVPN Client Application settings.

Problem Statement

When tunneling mobile traffic, certain Android applications (e.g., the official YouTube app using Google Cronet) resolve target domains into both IPv4 and IPv6 (AAAA) addresses.

If the client attempts to establish TCP streams to target IPv6 addresses (2001:4860:...) through a SOCKS5 proxy on a server without IPv6 outbound routing, the TUN bridge returns a SOCKS5 error:
tun bridge tcp scks5 connect refused code 3

Proposed Solution

Add a Disable IPv6 toggle in the Client App settings to filter out IPv6 (AAAA) DNS responses or block IPv6 traffic at the TUN bridge level, forcing all proxied application traffic to resolve and connect strictly via IPv4 addresses (142.250.x.x).

Benefits

  • Eliminates connection timeouts and connect refused code 3 errors in Android apps like YouTube.
  • Provides a seamless user experience without requiring users to manually modify system-wide Android APN or Private DNS settings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions