Call the AddZone operation to create a built-in authoritative zone. The built-in authoritative zone can be a standard zone or an accelerated zone.
Operation description
Starting from April 30, 2025 (UTC+8), zones added by new users of Alibaba Cloud DNS PrivateZone are set as accelerated zones by default. Starting from April 30, 2026 (UTC+8), all built-in authoritative standard zones will be automatically switched to accelerated zones. After the switch, the number of DNS queries may increase, which can increase your costs. To reduce the increase in DNS queries caused by the absence of a local cache, enable NSCD for your ECS instances.
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 subdomain recursive proxy. 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. You do not need to specify this parameter. |
CLOUD_PRODUCT_ZONE |
| ZoneTag |
string |
No |
This parameter is not available to users. You do not need to specify this parameter. |
BLINK |
| ClientToken |
string |
No |
A client token that is used to ensure the idempotence of the request. You can use the client to generate a token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. |
21079fa016944979537637959d09bc |
| DnsGroup |
string |
No |
The location 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. DNS responses are not cached. This may increase the number of DNS queries and your costs. |
FAST_ZONE |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| ZoneName |
string |
The name of the zone. |
example.com |
| ZoneId |
string |
The unique ID of the zone. |
6fc186295683a131f63bb8b0cddc**** |
| RequestId |
string |
The unique ID of the request. |
54F10A2A-C3CF-59D4-810F-F18DDD93FE20 |
| Success |
boolean |
Indicates whether the request was 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.