All Products
Search
Document Center

CDN:Configure Origin Fetch over IPv6

Last Updated:Jun 21, 2026

Configure Origin Fetch over IPv6 to enable CDN POPs to fetch content from your origin server over IPv6. You can choose from several origin-fetch policies: prioritize IPv6, match the client's protocol, or load-balance between IPv4 and IPv6.

Background

Most Alibaba Cloud CDN POPs support origin fetch over IPv6. After you enable this feature, if your origin server supports IPv6, POPs will fetch content over IPv6 based on the origin-fetch policy that you configure.

Note
  • 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

  1. Log on to the CDN console.

  2. In the left navigation pane, click Domain Names.

  3. On the Domain Names page, find the target domain name and click Manage in the Actions column.

  4. In the domain's navigation pane, click Origin Fetch.

  5. In the Origin Fetch over IPv6 section, click Edit.

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

    Note

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

  7. Click OK.