Queries the DNS records of a specified organization.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ListOrgDNSMap

The operation that you want to perform. Set the value to ListOrgDNSMap.

OrgId Integer Yes 1

The ID of the organization.

Search String No foobar

Specifies the DNS record you want to query.

CurrentPage Integer No 1

The number of the page to return. Default value: 1.

PageSize Integer No 10

The number of entries to return on each page.

Response parameters

Parameter Type Example Description
CurrentPage Integer 1

The number of the returned page. Default value: 1.

PageSize Integer 10

The number of entries returned per page.

Records Array

The list of records.

Domain String aliyun.com

The root domain.

Id Integer 1

The ID of the record.

Index Integer 1

The index number.

OrgId Integer 1

The ID of the organization.

Record String 192.168.1.1

The DNS record.

Subdomain String testphp.vulnweb.com

The subdomain.

Type String A

The record type.

UpdatedAt Long 1585737159000

The update time.

RequestId String 20E9A617-74A9-48A6-88C1-8246EAE1F4F9

The ID of the request.

TotalCount Integer 10

The total number of records.

Examples

Sample requests

http(s)://[Endpoint]/?Action=ListOrgDNSMap
&OrgId=1
&<Common request parameters>

Sample success responses

XML format

<ListOrgDNSMapResponse>
   <code>200</code>
   <data>
        <TotalCount>1</TotalCount>
        <PageSize>10</PageSize>
        <CurrentPage>1</CurrentPage>
        <Records>
              <OrgId>1</OrgId>
              <Type>A</Type>
              <Subdomain>testphp.vulnweb.com</Subdomain>
              <Index>1</Index>
              <Record>192.28.50.165</Record>
              <Id>1</Id>
              <Domain>vulnweb.com</Domain>
              <UpdatedAt>1585737159000</UpdatedAt>
        </Records>
   </data>
   <requestId>35EB9EFB-82AF-438A-8DFA-94C707BF264A</requestId>
   <success>true</success>
</ListOrgDNSMapResponse>

JSON format

{
    "code": 200,
    "data": {
        "TotalCount": 1,
        "PageSize": 10,
        "CurrentPage": 1,
        "Records": [
            {
                "OrgId": 1,
                "Type": "A",
                "Subdomain": "testphp.vulnweb.com",
                "Index": 1,
                "Record": "192.28.50.165",
                "Id": 1,
                "Domain": "vulnweb.com",
                "UpdatedAt": 1585737159000
            }
        ]
    },
    "requestId": "35EB9EFB-82AF-438A-8DFA-94C707BF264A",
    "success": true
}

Error codes

For a list of error codes, visit the API Error Center.