Hacker News new | ask | show | jobs
by toast0 1582 days ago
> Apple also requires IPv6 support for backend services for approval of iOS apps in the App Store

It really doesn't. It requires that the iOS apps work on IPv6 networks with DNS64/NAT64/whatever it's called. It meerly suggests that you might want to have server side IPv6, since your iOS apps need to support it anyway.

2 comments

> DNS64/NAT64/whatever it's called

I run an ipv6-only local network for fun, so I can tell you the name you're looking for is 464XLAT. In this style of setup, IPv4 packets are translated into IPv6, routed over the IPv6-only network, and translated back to IPv4.

NAT64 and DNS64 are not the same thing as 464XLAT.

It's been a number of years since I had to work on this at a previous company, but my recollection is that Android relies 464XLAT to make sure that all android apps will work properly on ipv6-only mobile networks that use carrier grade NAT.

Apple on the other hand demands that your app actually natively works with ipv6. I didn't have access to an ipv6 network when I was working on solving this issue in our networking libraries, so I used this https://www.jool.mx/en/ to set up NAT64 and I used bind9 to do DNS64 in order to create an ipv6 network for testing ipv6 functionality.

> NAT64 and DNS64 are not the same thing as 464XLAT.

Correct, that's my point. What my parent poster is describing is 464XLAT, not DNS64 and/or NAT64.

No, the iOS requirement is for DNS64/NAT64. The server can be IPv4, the app has to work with an IPv6 address provided by DNS64. If 464XLAT were the deployed, the app could continue to speak IPv4, but it can't. Nothing to poster you replied to said contradicted that, so I'm not sure where you got it from that they speak about 464XLAT?
Maybe I misinterpreted the original poster's comment, my understanding was they were referring to IPv6-only carrier networks.

In the US (unsure about other countries but they may work the same), the IPv6-only carrier networks mostly (all?) use 464XLAT and not DNS64.

My comments are intentionally devoid of talking about what Apple's requirements are because I don't know then and as far as I know the other posters are correct there.

That does sound like a fun project. Any reasoning behind it or benefits?
This means the requirement is only that the app doesn’t use hardcoded ip addresses.