Calls the DescribeRecordLogs operation to query the operation logs of DNS records of a domain name based on input parameters.

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 DescribeRecordLogs

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

DomainName String Yes example.com

The domain name.

AccessKeyId String No your_accesskey_id

The AccessKey ID provided to you by Alibaba Cloud.

KeyWord String No test

The keyword for searches in %KeyWord% mode. The value is not case-sensitive.

Lang String No en

The language type.

PageNumber Long No 1

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

PageSize Long No 20

The number of entries to return on each page. Maximum value: 100. Default value: 20.

StartDate String No 2015-12-12T09:23Z

The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format.

UserClientIp String No 1.1.1.1

The IP address of the client.

endDate String No 2015-12-12T09:23Z

The end of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format.

Response parameters

Parameter Type Example Description
PageNumber Long 1

The page number of the returned page.

PageSize Long 2

The number of entries returned per page.

RecordLogs Array

The list of the operation logs of the domain name.

RecordLog

Details about an operation log of the domain name.

Action String Disabled Record

The operation that you performed.

ActionTime String 2015-12-12T09:23Z

The time when the operation was performed.

ActionTimestamp Long 134514540000

The UNIX timestamp representing the time of the operation.

ClientIp String 182.92.253.XX

The IP address of the operator.

Message String MX record mail default xxxx.top. ( TTL: 600)

The returned operation message.

RequestId String 536E9CAD-DB30-4647-AC87-AA5CC38C5382

The ID of the request.

TotalCount Long 2

The total number of operation logs.

Examples

Sample requests

http(s)://example.com/?Action=DescribeRecordLogs&DomainName=example.com&<Common request parameters>

Sample success responses

XML format

<DescribeRecordLogsResponse>      <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>      <TotalCount>2</TotalCount>      <PageNumber>1</PageNumber>      <PageSize>2</PageSize>      <RecordLogs>            <RecordLog>                  <ActionTime>2015-12-12T09:23Z</ActionTime>                  <Action>Disabled Record</Action>                  <Message>MX record mail default xxxx.top. ( TTL: 600)</Message>                  <ClientIp>182.92.253.20</ClientIp>            </RecordLog>            <RecordLog>                  <ActionTime>2015-12-12T09:23Z</ActionTime>                  <Action>Add DNS Record</Action>                  <Message>MX record mail default xxxx.top. ( TTL: 600)</Message>                  <ClientIp>182.92.253.20</ClientIp>            </RecordLog>      </RecordLogs></DescribeRecordLogsResponse>

JSON format

{    “DescribeRecordLogsResponse”:{        “PageNumber”:”1”,        “TotalCount”:”2”,        “PageSize”:”2”,        “RecordLogs”:{            “RecordLog”:[                {                    “Action”:”Disabled Record”,                    “Message”:”MX record mail default xxxx.top. ( TTL: 600)”,                    “ActionTime”:”2015-12-12T09:23Z”,                    “ClientIp”:”182.92.253.20”                },                {                    “Action”:”Add DNS Record”,                    “Message”:”MX record mail default xxxx.top. ( TTL: 600)”,                    “ActionTime”:”2015-12-12T09:23Z”,                    “ClientIp”:”182.92.253.20”                }            ]        },        “RequestId”:”536E9CAD-DB30-4647-AC87-AA5CC38C5382”    }}

Error codes

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

     </article>
  </main>