AddZone
Creates a built-in authoritative zone, which can be added to a normal zone or an accelerated zone.
Operation description
Starting April 30, 2025 (UTC+8), when users who newly activate Alibaba Cloud DNS PrivateZone add a zone, the zone Settings default to an accelerated zone. Starting October 30, 2025 (UTC+8), built-in authoritative zones in the normal zone for all users will undergo an automatic switchover to the accelerated zone. After the switchover, the number of parse requests may increase, resulting in higher costs. Enable NSCD for ECS to reduce the increase in parse requests caused by the lack of local cache.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
pvtz:AddZone |
create |
*Zone
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the response. Valid values:
Default value: en. |
en |
| ZoneName |
string |
No |
The name of the zone to add. |
example.com |
| ProxyPattern |
string |
No |
Specifies whether to enable the recursive proxy for subdomains. Valid values:
Default value: ZONE. |
ZONE |
| ResourceGroupId |
string |
No |
The ID of the resource group. |
rg-acfmykd63gt**** |
| ZoneType |
string |
No |
This parameter is not available to users. Do not specify a value for this parameter. |
CLOUD_PRODUCT_ZONE |
| ZoneTag |
string |
No |
This parameter is not available to users. Do not specify a value for this parameter. |
BLINK |
| ClientToken |
string |
No |
The client token that ensures the idempotence of the request. Generate a token on your client to ensure that the token is unique across different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. |
21079fa016944979537637959d09bc |
| DnsGroup |
string |
No |
The location zone of the built-in authoritative zone. Valid values:
Default value: NORMAL_ZONE. Note
The built-in authoritative accelerated zone is located before the cache module, and resolution results are not cached. Enable NSCD for ECS to reduce the increase in DNS queries caused by the lack of local cache, thereby avoiding excessive additional costs. Note
Starting April 30, 2025 (UTC+8), when users who newly activate Alibaba Cloud DNS PrivateZone add a zone, the zone is set to an accelerated zone by default. Valid values:
|
FAST_ZONE |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| ZoneName |
string |
The name of the zone. |
example.com |
| ZoneId |
string |
The ID of the zone, which is the unique identifier of the zone. |
6fc186295683a131f63bb8b0cddc**** |
| RequestId |
string |
The ID of the request. |
54F10A2A-C3CF-59D4-810F-F18DDD93FE20 |
| Success |
boolean |
Indicates whether the request is successful. |
true |
Examples
Success response
JSON format
{
"ZoneName": "example.com",
"ZoneId": "6fc186295683a131f63bb8b0cddc****",
"RequestId": "54F10A2A-C3CF-59D4-810F-F18DDD93FE20",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.