Creates a private zone.


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 AddZone

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

Lang String No en

The language.

ProxyPattern String No ZONE
  • ZONE: indicates that the recursive DNS proxy is disabled.
  • RECORD: indicates that the recursive DNS proxy is enabled.
ResourceGroupId String No rg-resourcegroupid1

The ID of the resource group.

UserClientIp String No

The IP address of the client.

ZoneName String No

The name of the zone.

Response parameters

Parameter Type Example Description
RequestId String 46973D4C-E3E4-4ABA-9190-9A9DE406C7E

The ID of the request.

Success Boolean true

Indicates whether the call is successful.

ZoneId String AgIDE1MQ_151

The ID of the zone.

ZoneName String

The name of the zone.


Sample requests
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

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