Content Acceleration

IpDomainService

갱신 시간: 2026-07-13 15:49:53

This interface is used to query the domain names that are using the IP address. The user enters the IP address to obtain the list of domain names associated with the IP. The information returned by the interface includes the current usage status of the IP and the list of domain names that use the IP. In actual applications, this interface can help users detect the domain name usage of a specific IP, which is suitable for network monitoring and management.

  • 단일 사용자 통화 빈도: 300/5min
  • 해당 상품(제품): Content Acceleration
API 인증에 관한 자세한 내용은 다음을 참조하십시오:API 인증 개요

요청 파라미터

Body 파라미터

파라미터 이름설명
*ipList

IP

응답 파라미터

Body 파라미터

파라미터 이름설명
codeString

request result status code

messageString

Request result information

dataList

Detailed data on the results of the request

ipString

ip

statusString

Whether to use:

idle --IP not used yet; runing -- IP in use; out of range -- IP is not in a queryable range

domainListList

List of domain using this IP.The domain list of the IP that was idle or out of range was empty

에러 코드

에러 코드(code)설명(message)HTTP 상태 코드설명
INVALID_HTTP_REQUEST

There was an error in the body of your HTTP request.

400There was an error in the body of your HTTP request.
SYSTEM_ERROR

We encountered an system error. Please try again.

500We encountered an system error. Please try again.

예제

JSON
JSON
요청 예제
복사 복사 완료
#!/bin/bash
username="example_username"
apiKey="example_apiKey"
date=`env LANG="en_US.UTF-8" date -u "+%a, %d %b %Y %H:%M:%S GMT"`
password=`echo -en "$date" | openssl dgst -sha1 -hmac $apiKey -binary | openssl enc -base64`
curl -i --url "https://api.cdnetworks.com/api/tools/ip/domain-list" \
-X "POST" \
-u "$username:$password" \
-H "Date: $date" \
-H "Accept: application/json" \
-d '{
    "ip": ["1.1.1.1","2.2.2.2"]
}'
응답 예제
복사 복사 완료
{
    "code": "0",
    "message": "success",
    "data": [
        {
            "ip": "1.1.1.1",
            "status": "idle"
        },
        {
            "ip": "2.2.2.2",
            "status": "running",
            "domainList": [
                "a.net",
                "b.net",
                "c.net",
                "d.com"
            ]
        }
    ]
}
이 문서의 내용이 도움이 되었습니까?
아니오
정상적으로 제출되었습니다.피드백을 주셔서 감사합니다.앞으로도 개선을 위해 노력하겠습니다.