All Products
Search
Document Center

:ListRecursionRecords

Last Updated:Dec 03, 2025

Lists the built-in authoritative records for recursive resolution.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

pubdns:ListRecursionRecords

list

*recursion

acs:pubdns::{#accountId}:recursionZone/{#zoneId}

None None

Request parameters

Parameter

Type

Required

Description

Example

ZoneId

string

No

The ID of the zone to which the DNS record belongs.

17832322323

Rr

string

No

The host record.

www

Type

string

No

The type of the DNS record. The following types are supported: A: Maps a domain name to an IPv4 address. AAAA: Maps a domain name to an IPv6 address. CNAME: An alias record that maps a domain name to another domain name. MX: A mail exchanger record that points a domain name to a mail server address. TXT: A text record that contains arbitrary, human-readable text. SRV: A service record that identifies a server for a specific service. This record type is common in directory management for Microsoft systems.

A

Weight

integer

No

The weight of the DNS record. The value ranges from 0 to 100.

1

RequestSource

string

No

The DNS line. The default value is default. For more information, see DNS lines.

DNS line enumeration

default

Enable

string

No

The status of the DNS record. Valid values: enable and disable.

enable

Ttl

integer

No

The time-to-live (TTL) in seconds. The default value is 60. Valid values are 5, 30, 60, 3600 (1 hour), 43200 (12 hours), and 86400 (24 hours).

60

Remark

string

No

The remarks.

remark

PageNumber

integer

Yes

The current page number. The value starts from 1. The default value is 1.

1

PageSize

integer

Yes

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

20

NextToken

string

No

The token used to start the next query.

4698691

MaxResults

integer

No

The maximum number of records to return for the current request.

100

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

6856BCF6-11D6-4D7E-AC53-FD579933522B

PageNumber

integer

The current page number. The value starts from 1. The default value is 1.

1

PageSize

integer

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

20

TotalPages

integer

The total number of pages.

5

TotalItems

integer

The total number of records.

100

Records

object

Record

array<object>

The list of DNS records.

object

The DNS record.

ZoneId

string

The ID of the zone to which the DNS record belongs.

169439170000011

RecordId

string

The unique ID of the DNS record.

1897105298264316928

CreateTime

string

The time when the record was created.

2023-06-28T09:16Z

CreateTimestamp

integer

The UNIX timestamp that indicates when the record was created.

1721119172000

UpdateTime

string

The time when the record was last modified.

2024-10-22T09:54Z

UpdateTimestamp

integer

The UNIX timestamp that indicates when the record was last modified.

1620283051000

Rr

string

The host record.

wap

Type

string

The type of the DNS record.

A

Ttl

integer

The TTL of the DNS record.

60

Priority

integer

The priority of the MX record.

10

Value

string

The value of the DNS record.

120.38.70.54

EnableStatus

string

The status of the record.

enable

Remark

string

The remarks.

1150

RequestSource

string

The source of the request.

default

Weight

integer

The weight of the DNS record.

1

Creator

integer

The ID of the creator.

123121312

CreatorType

string

The type of the creator. Valid values: user and system.

user

CreatorSubType

string

The type of the account. Note:

custom: Alibaba Cloud account, sub: RAM user, sts: assumed role, other: other

custom

MaxResults

integer

The maximum number of records returned for the current request.

500

NextToken

string

The token used to start the next query.

4698691

Examples

Success response

JSON format

{
  "RequestId": "6856BCF6-11D6-4D7E-AC53-FD579933522B\n",
  "PageNumber": 1,
  "PageSize": 20,
  "TotalPages": 5,
  "TotalItems": 100,
  "Records": {
    "Record": [
      {
        "ZoneId": "169439170000011",
        "RecordId": "1897105298264316928",
        "CreateTime": "2023-06-28T09:16Z",
        "CreateTimestamp": 1721119172000,
        "UpdateTime": "2024-10-22T09:54Z",
        "UpdateTimestamp": 1620283051000,
        "Rr": "wap",
        "Type": "A",
        "Ttl": 60,
        "Priority": 10,
        "Value": "120.38.70.54",
        "EnableStatus": "enable",
        "Remark": "1150",
        "RequestSource": "default",
        "Weight": 1,
        "Creator": 123121312,
        "CreatorType": "user",
        "CreatorSubType": "custom"
      }
    ]
  },
  "MaxResults": 500,
  "NextToken": "4698691"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.