Verifies IP Information

Last Updated: Nov 09, 2017

Description

Verifies whether the specified IP address is the IP address of an Alibaba Cloud CDN node.

Request parameters

Parameter Type Required Description
Action String Yes Operation interface name, which is a required parameter; value: DescribeIpInfo
IP String Yes Specified IP address. Batch IP addresses are not supported.

Return parameters

Name Type Description
RequestId String Request ID
CdnIp String Whether the specified IP address belongs to an Alibaba Cloud CDN node; optional values: True (Yes) and False (No)
ISP String Carrier
Region String Region

Special error code

Error Code Description HTTP Status Code Meaning
Throttling Request was denied due to request throttling. 503 Request restricted by traffic control
OperationDenied Your account does not open CDN service yet. 403 CDN service not activated
OperationDenied Your CDN service is suspended. 403 CDN service stopped
MissingParameter The specified value of parameter IP is not valid. 400 IP address parameter missing
InvalidIP.ValueNotSupported The specified value of parameter IP is not supported. 400 Incorrect IP address format

Example

Request example:

  1. http://cdn.aliyuncs.com?Action=DescribeIpInfo&IP=1.2.3.4
  2. &<Public request parameter>

Return example:

JSON format

  1. {
  2. "Region": "China-Guizhou province-Guiyang city",
  3. "RequestId": "123847FA-9A00-4426-83B8-B4B45D475930",
  4. "ISP": "China Telecom",
  5. "CdnIp": "True"
  6. }

XML format:

  1. <DescribeIpInfoResponse>
  2. <Region>China-Guizhou province-Guiyang city</Region>
  3. <RequestId>AA880DA3-570B-4407-AC5D-D28E0D28A290</RequestId>
  4. <ISP>China Telecom</ISP>
  5. <CdnIp>True</CdnIp>
  6. </DescribeIpInfoResponse>
Thank you! We've received your feedback.