DescribeRecursionZone

Updated at:

Queries the details of a built-in authoritative zone in HTTPDNS.

Operation description

Real-time data is aggregated on an hourly basis.

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

get

*recursionZone

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

None None

Request parameters

Parameter

Type

Required

Description

Example

ZoneId

string

Yes

The zone ID, which uniquely identifies the zone.

169783221000012

Response elements

Element

Type

Description

Example

object

RequestId

string

The unique identifier of the request.

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

ZoneId

string

The zone ID, which uniquely identifies the zone.

169438909000011

CreateTime

string

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

2018-06-06T11:34Z

CreateTimestamp

integer

The creation timestamp.

1533773400000

UpdateTime

string

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

2018-01-03T08:57Z

UpdateTimestamp

integer

The update timestamp.

1527690629357

ZoneName

string

The zone name.

cheng.suow.cc

UserId

string

The user ID.

1527690629357

ProxyPattern

string

Specifies whether recursive proxy for subdomains is enabled. Valid values:

zone: Disabled. When a query is made for a non-existent subdomain under this domain name, NXDOMAIN is returned directly to indicate that the subdomain does not exist. record: Enabled. When a query is made for a non-existent subdomain under this domain name, the system sequentially queries the forwarding and recursion modules, and responds to the DNS query with the final resolution result.

record

RecordCount

integer

The number of DNS records in the zone.

8

Remark

string

The remark.

test

Creator

string

The ID of the creator.

SOAR

CreatorType

string

The type of the creator.

USER

CreatorSubType

string

The subtype of the creator.

SUB

EffectiveScopes

object

EffectiveScope

array<object>

The effective scopes of the built-in authoritative zone.

array<object>

EffectiveType

string

The effective type of the built-in authoritative zone. Valid values: account: The account ID assigned for recursive resolution.

account

Scopes

object

Scope

array

The effective scope. If the effective type is account, this parameter corresponds to a list of account IDs.

[20003]

string

The child element of the effective scope. If the effective type is account, this parameter corresponds to a single account ID.

20003

Examples

Success response

JSON format

{
  "RequestId": "6856BCF6-11D6-4D7E-AC53-FD579933522B",
  "ZoneId": "169438909000011",
  "CreateTime": "2018-06-06T11:34Z",
  "CreateTimestamp": 1533773400000,
  "UpdateTime": "2018-01-03T08:57Z",
  "UpdateTimestamp": 1527690629357,
  "ZoneName": "cheng.suow.cc",
  "UserId": "1527690629357",
  "ProxyPattern": "record",
  "RecordCount": 8,
  "Remark": "test",
  "Creator": "SOAR",
  "CreatorType": "USER",
  "CreatorSubType": "SUB",
  "EffectiveScopes": {
    "EffectiveScope": [
      {
        "EffectiveType": "account",
        "Scopes": {
          "Scope": [
            "20003"
          ]
        }
      }
    ]
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.