tencent cloud

Feedback

Collect EdgeOne origin-pull node IP

Last updated: 2023-12-15 09:54:21
    To obtain the EdgeOne's IPs for requesting origin, which can be used to set these EdgeOne's IPs as an allowlist in the origin firewall, only allowing fixed source (IP) requests to the origin, thus implementing protection for the origin.

    Use Guide

    1. Directly access https://api.edgeone.ai/ips through a browser or curl command. This will collect all IPv4 and IPv6 origin-pull node IP addresses of EdgeOne in the Global availability zone. The responded result is UTF-8 encoded plain text, with one IP segment per line.
    2. If you only need to obtain the origin-pull node IP of a specified region or a specified IP Type, you can also filter the origin-pull node IP by carrying a specified query string. The supported query strings are as follows:
    Query string
    Explanation
    version
    Specifies the Type of origin-pull node IP address to be collected, with the following values:
    v4: All IPv4 origin-pull node IP addresses
    v6: All IPv6 origin-pull node IP addresses
    By default, all IPv4 and IPv6 IP addresses are returned when this parameter is not included.
    area
    Specifies the region of the origin-pull node IP to be collected, with the following values:
    global: All origin-pull node IP addresses in the Global availability zone
    mainland-china: All origin-pull node IP addresses in the Chinese mainland availability zone
    overseas: All origin-pull node IP addresses in the Global availability zone (excluding Chinese mainland)
    By default, all origin-pull node IP addresses in the Global availability zone are returned when this parameter is not included.
    Note:
    1. In general, it is suggested to select and obtain the origin-pull node IP address of the corresponding region based on your site's service area. For example, if the site's service area is in the Chinese mainland availability zone, you can obtain the origin-pull node IP address within the Chinese mainland availability zone, and the same applies to other service areas.
    2. This function is mutually exclusive with the origin protection function. If you need to collect the latest origin-pull IP through the method in this Document, please confirm that you have turned the business origin protection function Off.

    Request example

    If you want to obtain all IPv6 origin-pull node IPs in the Global availability zone (excluding Chinese mainland), you can query the origin-pull IP address under this condition by carrying version=v6&area=overseas in the request URL. The specific URL is: https://api.edgeone.ai/ips?version=v6&area=overseas
    
    The response result example is as follows (this result is for reference only, please refer to the real-time request result for the actual origin-pull IP):
    240d:c010::/28
    2001:ee0:324b:100::/64
    2405:3200:101:63::/64
    2405:4800:a601::/64
    2602:ffe4:c02:1001::/64
    2602:ffe4:c12:101::/64
    2602:ffe4:c12:105::/64
    2602:ffe4:c15:124::/64
    2602:ffe4:c18:c003::/64
    2602:ffe4:c18:c201::/64
    2602:ffe4:c18:c203::/64
    2602:ffe4:c27:1003::/64
    2604:980:4002:2::/64
    2604:980:5003:2::/64
    2604:980:7002:6::/64
    2a02:b60:2001::/64
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support