Enable origin fetch over IPv6 so that Alibaba Cloud CDN points of presence (POPs) access origin servers over IPv6. You can select from different back-to-origin policies, such as prioritizing IPv6 addresses, matching the client’s IP version, or IPv4/IPv6 Load Balancing.
Background information
When origin fetch over IPv6 is enabled and the origin server supports IPv6, POPs fetch content from origin servers over IPv6 according to the policy you select.
-
Currently, CDN and nodes in China (Hong Kong), China (Macao), China (Taiwan), and overseas regions do not support Origin Fetch over IPv6.
-
The use of IPv6-only origin servers is not currently supported. If an origin server uses only IPv6 addresses, some CDN and nodes may fail to perform an origin fetch.
Procedure
-
Log on to the ApsaraVideo VOD console.
In the left-side navigation pane, choose Configuration Management > CDN Configuration > Domain Names.
-
On the Domain Names page, find the domain name to manage and click Configure in the Actions column.
-
In the navigation pane on the left, click Back-to-Origin.
-
On the Configure tab, click Modify in the Origin Fetch over IPv6 section.
-
In the Origin Fetch over IPv6 dialog box, select Use IPv6, Match Client, or IPv4/IPv6 Load Balancing.
Parameter
Description
Use IPv6
When enabled, POPs prioritize IPv6 for origin fetch.
NoteIf a POP or an origin server does not have a valid IPv6 address, the connection falls back to IPv4.
Match Client
When enabled, origin fetch uses the same IP protocol as the client request.
Note-
If a client request uses IPv6, CDN prioritizes fetching from an IPv6 origin server. If no IPv6 origin server is available, it falls back to an IPv4 origin server.
-
If a client request uses IPv4, CDN prioritizes fetching from an IPv4 origin server. If no IPv4 origin server is available, it falls back to an IPv6 origin server.
IPv4/IPv6 Load Balancing
When enabled, origin fetch requests are distributed via polling across all origin server addresses, regardless of the client's IP protocol.
Note-
The IPv4/IPv6 Load Balancing feature is mutually exclusive with the Use IPv6 and Match Client features. If you enable IPv4/IPv6 Load Balancing, the Use IPv6 and Match Client features are disabled.
-
If you have configured weight ratios for your IPv4 and IPv6 addresses, CDN distributes origin fetch requests according to these ratios.
-
-
Click OK to complete the configuration.