SearchRecursionRecords

Updated at:

Searches for the built-in authoritative resolution parse records of HTTPDNS.

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:SearchRecursionRecords

list

*recursion

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

None None

Request parameters

Parameter

Type

Required

Description

Example

ZoneId

string

Yes

The zone ID of the DNS record.

169438909000011

Rr

string

No

The host record.

www

Type

string

No

The parse record type. Valid values:

  • A: IPv4 record. Maps a domain name to an IPv4 address.

  • AAAA: IPv6 record. Maps a domain name to an IPv6 address.

  • CNAME: Canonical name record. Maps a domain name to another domain name.

  • MX: Mail exchange record. Maps a domain name to a mail server.

  • TXT: Text record. An arbitrary readable text DNS record.

  • SRV: Server resource record. Serves as the identity of a server that uses a specific service, commonly used in folder management of Microsoft systems.

A

Weight

integer

No

The weight of the DNS record. Valid values: 0 to 100.

2

RequestSource

string

No

The DNS resolution line. Default value: default. For more information, see:

DNS resolution lines

default

EnableStatus

string

No

The status of the DNS record. Valid values:

  • enable: Enabled.

  • disable: Disabled.

enable

Ttl

integer

No

The local cache time. Valid values: 5, 30, 60, 3600 (1 hour), 43200 (12 hours), and 86400 (1 day). Unit: seconds. Default value: 60.

60

Remark

string

No

The remark.

test

Value

string

No

The record value.

1.1.XX.XX

OrderBy

string

No

The sorting method. Valid values: rr, type, value, requestSource, weight, ttl, and enableStatus.

rr

Direction

string

No

The sorting order. Valid values:

  • asc: Ascending order.

  • dsc: Descending order.

asc

PageNumber

integer

Yes

The page number. Pages start from 1. Default value: 1.

1

PageSize

integer

Yes

The Settings for the number of entries per page during paging in a paged query. Maximum value: 100. Default value: 20.

1

MaxResults

integer

No

The maximum number of records to return for this request.

100

NextToken

string

No

The token for the next query.

4698691

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

536E9CAD-DB30-4647-AC87-AA5CC38C5382

PageNumber

integer

The page number. Pages start from 1. Default value: 1.

1

PageSize

integer

The Settings for the number of entries per page during paging in a paged query. Maximum value: 100. Default value: 20.

1

TotalPages

integer

The total number of pages.

1

TotalItems

integer

The total number of entries.

100

Records

object

Record

array<object>

The list of DNS records.

object

The DNS record.

ZoneId

string

zone ID

169783221000012

RecordId

string

record ID

1927184083990351872

CreateTime

string

The creation time. The time is displayed in UTC in the YYYY-MM-DDTHH:mmZ format.

2025-06-16T02:18Z

CreateTimestamp

integer

The creation timestamp.

1615182315000

UpdateTime

string

The update time. The time is displayed in UTC in the YYYY-MM-DDTHH:mmZ format.

2022-10-28T13:07Z

UpdateTimestamp

integer

The update timestamp.

1722107570000

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.

1

Value

string

The value of the DNS record.

14.19.85.71

EnableStatus

string

The status of the DNS record. Valid values:

  • enable: Enabled.

  • disable: Disabled.

enable

Remark

string

The remark.

vxwk

RequestSource

string

The request source.

default

Weight

string

The weight.

4

Creator

integer

The ID of the creator.

1521021611066866

CreatorType

string

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

user

CreatorSubType

string

The account type. Valid values:

  • custom: Alibaba Cloud account.

  • sub: RAM user.

  • sts: Role assumption.

  • other: Other.

custom

MaxResults

integer

The maximum number of records to return for this request.

500

NextToken

string

The token for the next query.

4698691

Examples

Success response

JSON format

{
  "RequestId": "536E9CAD-DB30-4647-AC87-AA5CC38C5382",
  "PageNumber": 1,
  "PageSize": 1,
  "TotalPages": 1,
  "TotalItems": 100,
  "Records": {
    "Record": [
      {
        "ZoneId": "169783221000012",
        "RecordId": "1927184083990351872",
        "CreateTime": "2025-06-16T02:18Z",
        "CreateTimestamp": 1615182315000,
        "UpdateTime": "2022-10-28T13:07Z",
        "UpdateTimestamp": 1722107570000,
        "Rr": "wap",
        "Type": "A",
        "Ttl": 60,
        "Priority": 1,
        "Value": "14.19.85.71",
        "EnableStatus": "enable",
        "Remark": "vxwk",
        "RequestSource": "default",
        "Weight": "4",
        "Creator": 1521021611066866,
        "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.