From: Kristof Mattei <kristofmattei@outlook.com>
To: "wireguard@lists.zx2c4.com" <wireguard@lists.zx2c4.com>
Subject: [iOS] IPv4 -> IPv6 transition
Date: Mon, 22 Aug 2022 23:40:28 +0000 [thread overview]
Message-ID: <BY5PR04MB68330EBD7FBB80A11907EDA9A2719@BY5PR04MB6833.namprd04.prod.outlook.com> (raw)
In-Reply-To: <DM6PR04MB6844F2C8516FF0607FF9F783A2719@DM6PR04MB6844.namprd04.prod.outlook.com>
Hi,
I’ve had a bug for the longest while when using Wireguard on T-Mobile USA (IPv6 only).
I have a VPN server listening to both IPv4 & IPv6. I have a DNS A and AAAA set on the same domain.
When making a connection from an IPv4-only WiFi network with Wireguard enabled and then walking away from the Wifi where we transition to a IPv6 network with 464XLAT we have the issue that Wireguard does not select the AAAA on the domain.
It prefers IPv4, as shown here: https://git.zx2c4.com/wireguard-apple/tree/Sources/WireGuardKit/DNSResolver.swift#n46 and here: https://git.zx2c4.com/wireguard-apple/tree/Sources/WireGuardKit/DNSResolver.swift#n73
Would it be possible to get this change to prefer to use IPv6?
That said, if Wireguard has iOS development licenses, I’d be happy to submit a patch (my personal license doesn’t allow me to test VPNs…)
KM
parent reply other threads:[~2022-08-22 23:40 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <DM6PR04MB6844F2C8516FF0607FF9F783A2719@DM6PR04MB6844.namprd04.prod.outlook.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BY5PR04MB68330EBD7FBB80A11907EDA9A2719@BY5PR04MB6833.namprd04.prod.outlook.com \
--to=kristofmattei@outlook.com \
--cc=wireguard@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).