Hi all,
It would appear the behavior of getaddrinfo has changed from iOS 9 to 10 when on an IPv6 only network. The manpage for getaddrinfo states the AI_ADDRCONFIG hint should only return IPv4 addresses if there are IPv4 addresses on the system. In iOS 9, the local only 169.254.169.131 addresses that get assigned when connected via NAT64 were disregarded for this purpose but it appears in iOS 10 the OS may be considering these to be valid and returning IPv4 results for the name lookup. As a result, connectivity is failing for code that relies on this API in the test IPv6 NET64/DNS64 environment recommended in the tech notes and attempting to access the IPv4 addresses vended by getaddrinfo.
Does anyone know if this an intentional change or a regression?
Thank you,
*****