DescribeDnsProductInstance

Updated at:

Retrieves the details of a paid Alibaba Cloud DNS instance based on the instance ID.

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

alidns:DescribeDnsProductInstance

get

*instance

acs:alidns::{#accountId}:instance/{#instanceId}

None None

Request parameters

Parameter

Type

Required

Description

Example

Lang

string

No

The language of the response. Valid values:

  • zh: Chinese

  • en: English

Default value: en.

en

UserClientIp

string

No

The client IP address.

192.0.2.0

InstanceId

string

Yes

The instance ID. You can retrieve the instance ID by calling DescribeDomainInfo.

i-8fxxxx

Response elements

Element

Type

Description

Example

object

MonitorNodeCount

integer

The number of monitoring nodes.

5

InBlackHole

boolean

The blackhole filtering status of the domain name.

  • true: The domain name is under blackhole filtering.

  • false: The domain name is not under blackhole filtering.

false

BindDomainCount

integer

The number of domain names that can be bound to the paid DNS instance. This parameter is applicable to users of the Personal Edition and Enterprise Ultimate Edition.

5

RegionLines

boolean

Indicates whether regional lines are supported.

  • true: Regional lines are supported.

  • false: Regional lines are not supported.

true

BindCount

integer

The number of times the domain name bound to the paid DNS instance can be changed. This parameter is applicable to users of the Custom Edition.

3

EndTime

string

The time when the instance expires. The time is displayed in UTC in the YYYY-MM-DDTHH:mmZ format.

2015-12-12T09:23Z

StartTimestamp

integer

The purchase time of the instance. The value is a timestamp.

1474335170000

ISPLines

string

The list of ISP lines for DNS resolution requests.

  • China Telecom

  • China Mobile

  • China Unicom

  • China Education and Research Network (CERNET)

  • China Broadnet

  • Dr. Peng Telecom&Media Group

China Telecom

EndTimestamp

integer

The time when the instance expires. The value is a UNIX timestamp.

1474335170000

DnsServers

object

DnsServer

array

The list of DNS servers currently configured for the domain name.

string

The details of the DNS server.

{"DnsServer": ["vip1.alidns.com","vip2.alidns.com"]}

DDosDefendQuery

integer

The DNS protection queries per second (QPS). Unit: 10,000 QPS. This parameter is applicable to users of the Custom Edition.

50

DnsSecurity

string

The DNS security level. Valid values:

  • no: None.

  • basic: Basic protection against DNS attacks.

  • advanced: Best-effort protection against DNS attacks.

advanced

DomainType

string

The instance type. Valid values:

  • PUBLIC: authoritative hosted domain name instance

  • CACHE: authoritative proxy domain name instance

PUBLIC

URLForwardCount

integer

The number of URL forwarding records.

20

TTLMinValue

integer

The minimum time-to-live (TTL) value. Unit: seconds.

10

PaymentType

string

The billing method.

Subscription

VersionName

string

The name of the Alibaba Cloud DNS edition.

Enterprise Ultimate Edition

OverseaLine

string

The overseas lines.

Overseas continents

ISPRegionLines

string

The list of ISP regional lines for DNS resolution requests.

  • China Telecom (province)

  • China Mobile (province)

  • China Unicom (province)

  • CERNET (province)

China Telecom_Zhejiang

Gslb

boolean

Indicates whether Global Server Load Balancing (GSLB) is enabled.

  • true: GSLB is enabled.

  • false: GSLB is disabled.

true

BindUsedCount

integer

The number of times the domain name bound to the paid DNS instance has been changed. This parameter is applicable to users of the Custom Edition.

1

RequestId

string

The unique request ID.

536E9CAD-DB30-4647-AC87-xxxxxxx

DnsSLBCount

integer

The load balancing capacity, which indicates the number of IP addresses supported for a single domain name and a single line.

15

InstanceId

string

The ID of the Alibaba Cloud DNS instance.

i-8fxxx

MonitorTaskCount

integer

The number of monitoring tasks.

2

StartTime

string

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

2015-12-12T09:23Z

DDosDefendFlow

integer

The DNS protection traffic. Unit: Gbit/s.

50

MonitorFrequency

integer

The monitoring frequency. Unit: minutes.

50

SearchEngineLines

string

The list of search engine lines for DNS resolution requests.

  • Google

  • Baidu

  • Bing

  • Youdao

Google

BindDomainUsedCount

integer

The number of domain names that are bound to the paid DNS instance. This parameter is applicable to users of the Personal Edition and Enterprise Ultimate Edition.

3

VersionCode

string

The code of the Alibaba Cloud DNS edition.

version1

OverseaDDosDefendFlow

integer

The overseas DNS protection traffic. Unit: Gbit/s.

1

InClean

boolean

The traffic scrubbing status of the domain name.

  • true: The domain name is under traffic scrubbing.

  • false: The domain name is not under traffic scrubbing.

false

SubDomainLevel

integer

The subdomain level.

6

Domain

string

The bound domain name.

If this parameter is empty, no domain name is bound.

example.com

AutoRenewal

boolean

Indicates whether auto-renewal is enabled for the instance.

  • true: Auto-renewal is enabled.

  • false: Auto-renewal is disabled.

true

Examples

Success response

JSON format

{
  "MonitorNodeCount": 5,
  "InBlackHole": false,
  "BindDomainCount": 5,
  "RegionLines": true,
  "BindCount": 3,
  "EndTime": "2015-12-12T09:23Z",
  "StartTimestamp": 1474335170000,
  "ISPLines": "中国电信",
  "EndTimestamp": 1474335170000,
  "DnsServers": {
    "DnsServer": [
      "{\"DnsServer\": [\"vip1.alidns.com\",\"vip2.alidns.com\"]}"
    ]
  },
  "DDosDefendQuery": 50,
  "DnsSecurity": "advanced",
  "DomainType": "PUBLIC",
  "URLForwardCount": 20,
  "TTLMinValue": 10,
  "PaymentType": "Subscription",
  "VersionName": "企业旗舰版",
  "OverseaLine": "海外大洲",
  "ISPRegionLines": "电信_浙江",
  "Gslb": true,
  "BindUsedCount": 1,
  "RequestId": "536E9CAD-DB30-4647-AC87-xxxxxxx",
  "DnsSLBCount": 15,
  "InstanceId": "i-8fxxx",
  "MonitorTaskCount": 2,
  "StartTime": "2015-12-12T09:23Z",
  "DDosDefendFlow": 50,
  "MonitorFrequency": 50,
  "SearchEngineLines": "谷歌",
  "BindDomainUsedCount": 3,
  "VersionCode": "version1",
  "OverseaDDosDefendFlow": 1,
  "InClean": false,
  "SubDomainLevel": 6,
  "Domain": "example.com",
  "AutoRenewal": true
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.