celzero / rethink-app

DNS over HTTPS / DNS over Tor / DNSCrypt client, WireGuard proxifier, firewall, and connection tracker for Android.
https://rethinkfirewall.com/
Apache License 2.0
2.6k stars 130 forks source link

ipv6 is used even though ipv4 is selected #1550

Open FlingCarnationProposal opened 1 week ago

FlingCarnationProposal commented 1 week ago

Addresses are sometimes resolved using ipv6 addresses even though "choose ip version" is set to ipv4. As a result, connections frequently fail. Screenshot_20240616_071632_com celzero bravedns

FlingCarnationProposal commented 1 week ago

Seems to not be an issue without advanced dns filtering switched on.

ignoramous commented 1 week ago

Yes. Thanks.

This happens because in Advanced DNS filtering mode, Rethink may engage in 4to6 (IPv4 to IPv6) translations, which hurts in cases where the underlying network may not even have IPv6 connectivity.

This issue has been fixed along with fixes done for #1546 but if Rethink doesn't perform translations, it'll cause issues seen in #1543 (where both IPv4+IPv6 are available to use, but Android only reports IPv6)... of course we must fix connectivity issues in both these cases.