wireguard.lists.zx2c4.com archive mirror
 help / color / mirror / Atom feed
* [iOS] IPv4 -> IPv6 transition
       [not found] <DM6PR04MB6844F2C8516FF0607FF9F783A2719@DM6PR04MB6844.namprd04.prod.outlook.com>
@ 2022-08-22 23:40 ` Kristof Mattei
  0 siblings, 0 replies; only message in thread
From: Kristof Mattei @ 2022-08-22 23:40 UTC (permalink / raw)
  To: wireguard


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-22 23:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <DM6PR04MB6844F2C8516FF0607FF9F783A2719@DM6PR04MB6844.namprd04.prod.outlook.com>
2022-08-22 23:40 ` [iOS] IPv4 -> IPv6 transition Kristof Mattei

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).