What to do with Apple's compulsive ipv6-only network iOS application compatibility IPv6

Source: Internet
Author: User

Apple's new policy is already known

Www.cocoachina.com/apple/20160505/16124.html

What we are most concerned about, then, is what we need to do as developers of apps. What is ipv6-only

In the past, everyone was using IPv4, that is, the address looks like a 114.255.40.66. However, such an address is not enough, there is a similar IP address such as 2001:DA8:215:4009:250:56FF:FE97:40C7.

At present, a network card will use both addresses at the same time, in the future, a network card will have only the IPV6 address. Devices using these two addresses are not accessible to each other, and later there are some transitional technologies that allow them to access each other in some cases. (e.g. Dns64/nat64) why would Apple do that?

Now there are a very small number of users in the IPV6-ONLY environment, the future proportion will expand.

Apple's demands are not difficult for most developers. At present, most applications do not need any operation to meet the requirements. What am I supposed to do?

Use a domain name (such as www.bupt.edu.cn) in your application and do not use IPV4 address (114.255.40.66) anywhere. Do I have to have IPV6 address on my server?

No, the server needs only a public IPv4 address, but requires a domain name (FQDN) to be used to represent the server. How to create a ipv6-only test environment

MacOS provides this functionality. Use a MAC to share a wired network to WiFi, and create a NAT64 network in the middle.

Refer to the Apple Support IPv6 Client Access IPV4 Server principle

First of all, this is not directly accessible, the network provider must support the transition technology.

First step: DNS pollution

    For example, we want to access example.com, assuming that this site has only IPv4 address (93.184.216.34, 16 to 5d B8 D8 22) then the IP address returned by the "contaminated" DNS is 64:ff9b:: 5db8:d822. Where ' 64:ff9b::/96 ' is the prefix that the IANA allocates for DNS64. The

second step: IPv6 to IPv4

    access to 64:ff9b::5db8:d822, IPV6 header is replaced with IPv4 Baotou, continue to visit. The packets coming back will be processed in reverse.
attached

Another good piece of paper

Http://www.2cto.com/kf/201605/506603.html

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.