All Products
Document Center

Retrieving Domain Name Attributes Based on Alibaba Cloud DNS Versions

Last Updated: May 27, 2016


Retrieves the DNS attributes (e.g. lines, types, TTL intervals) corresponding to a Alibaba Cloud DNS version based on the input parameters.

Request Parameters

Name Type Required? Description
Action String Yes Operation interface name, required parameter. Value: DescribeDnsProductAttributes
VersionCode String No The Alibaba Cloud DNS product version, "Free version" by default

Return Parameters

Public return parameters. For details, see Public Return Parameters

Name Type Description
RequestId String The unique request identifier
RecordTypes List<Type> The list of DNS record type names. The type is String type
TtlMinValue Long The minimum TTL value
TtlMaxValue Long The maximum TTL value
RecordLines RecordLineType The list of DNS record line names

Error Codes

For errors common to all interfaces, please refer to the Error Code Table .

Error Code Description HTTP Status Code Meaning
InvalidVersion The version of DNS product is not exist. 400 This Alibaba Cloud DNS version does not exist


Request Example
&<Public Request Parameters>

Return Example

XML Format

            <LineName>China Telecom</LineName>
            <LineName>Shanghai Telecom</LineName>

JSON Example

  "DescribeDnsProductAttributesResponse": {
    "RequestId": "536E9CAD-DB30-4647-AC87-AA5CC38C5382",
    "RecordTypes": {
      "Type": [
    "TtlMinValue": 600,
    "TtlMaxValue": 86400,
    "RecordLines": {
      "RecordLine": [
          "LineCode": "default",
          "LineName": "Default"
          "LineCode": "telecom",
          "LineName": "China Telecom"
          "LineCode": "shanghai-telecom",
          "FatherCode": "telecom",
          "LineName": "Shanghai Telecom"