Queries the details of a private zone.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeZoneInfo

The operation that you want to perform. Set the value to DescribeZoneInfo.

Lang String No en

The language.

UserClientIp String No 192.0.2.0

The IP address of the client.

ZoneId String No AgIDE1MA_149

The ID of the zone.

Response parameters

Parameter Type Example Description
BindVpcs Array

The list of the VPCs to which the private zone is attached.

Vpc

The information about a VPC.

RegionId String 1304

The ID of the region.

RegionName String 1304

The name of the region.

ReionId String 1304

The ID of the region.

VpcId String daily-vpc-id

The ID of the VPC.

VpcName String daily-vpc-name

The name of the VPC.

CreateTime String 2018-01-23T03:15Z

The time when the private zone was created.

CreateTimestamp Long 1516775741000

The timestamp when the private zone was created.

IsPtr Boolean false
  • true: indicates that the private zone is a reverse lookup zone.
  • false: indicates that the private zone is not a reverse lookup zone.
ProxyPattern String ZONE
  • ZONE: indicates that the recursive DNS proxy for the private zone is disabled.
  • RECORD: indicates that the recursive DNS proxy for the private zone is enabled.
RecordCount Integer 2

The total number of DNS records.

Remark String specialZone

The description.

RequestId String F73F41A3-B6DD-42CA-A793-FFF93277835D

The ID of the request.

SlaveDns Boolean true

Indicates whether the secondary DNS service is enabled. Valid values:

  • true: indicates that the secondary DNS service is enabled.
  • false: indicates that the secondary DNS service is disabled.
UpdateTime String 2018-01-24T06:35Z

The time when the private zone was updated.

UpdateTimestamp Long 1516775741000

The timestamp when the private zone was updated.

ZoneId String AgIDE0OQ_149<

The ID of the private zone.

ZoneName String example.com

The name of the private zone.

Examples

Sample requests


http://pvtz.aliyuncs.com/?Action=DescribeZoneInfo
&ZoneId=AgIDE1MA_149
&<Common request parameters>

Sample success responses

XML format

<DescribeZoneInfoResponse>
    <ZoneName>example.com</ZoneName>
    <IsPtr>false</IsPtr>
    <CreateTimestamp>1516677356000</CreateTimestamp>
    <RecordCount>2</RecordCount>
    <BindVpcs>
        <Vpc>
            <VpcName>daily-vpc-name</VpcName>
            <RegionName>1304</RegionName>
            <ReionId>1304</ReionId>
            <VpcId>daily-vpc-id</VpcId>
        </Vpc>
    </BindVpcs>
    <UpdateTimestamp>1516775741000</UpdateTimestamp>
    <CreateTime>2018-01-23T03:15Z</CreateTime>
    <RequestId>F73F41A3-B6DD-42CA-A793-FFF93277835D</RequestId>
    <UpdateTime>2018-01-24T06:35Z</UpdateTime>
    <ZoneId>AgIDE0OQ_149</ZoneId>
    <Remark>specialZone</Remark>
</DescribeZoneInfoResponse>

JSON format

{
	"ZoneName":"example.com"
	"CreateTimestamp":1516677356000,
	"IsPtr":false,
	"RecordCount": 2,
	"BindVpcs":{
		"Vpc": [
			{
				"VpcName":"daily-vpc-name"
				"RegionName":"1304",
				"ReionId":"1304",
				"VpcId":"daily-vpc-id",
			}
		]
	},
	"RequestId":"29D0F8F8-5499-4F6C-9FDC-1EE13BF55925",
	"CreateTime":"2018-01-23T03:15Z",
	"UpdateTimestamp":1516775741000,
	"UpdateTime":"2018-01-24T06:35Z",
	"ZoneId":"AgIDE0OQ_149",
	"Remark":"specialZone",
}

Error codes

HTTP status code Error code Error message Description&nbsp;
400 Zone.Invalid.Id Zone id is invalid. The error message returned because the ID of the private zone is invalid.

For a list of error codes, visit the API Error Center.