Adds a built-in authoritative domain name zone for recursive resolution.
Operation description
The end IP address of each IP range must be greater than or equal to the start IP address.
The IP address ranges of all IP ranges in all custom lines for a domain name cannot overlap.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
pubdns:AddRecursionZone | create | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
ZoneName | string | No | The name of the zone. | example.com |
ProxyPattern | string | No | Specifies whether to enable recursive proxy for subdomains. Valid values: zone: Disables recursive proxy. An NXDOMAIN response is returned for non-existent subdomains. record: Enables recursive proxy. For non-existent subdomains, the system queries the forwarding and recursion modules in sequence and returns the final result. | record |
ClientToken | string | No | A client token that ensures the idempotence of the request. You can specify a custom value. Make sure that the value is unique among different requests. The value can contain up to 64 ASCII characters. | 1ae05db4-10e7-11ef-b126-00163e24**22 |
Response elements
Element | Type | Description | Example |
object | |||
RequestId | string | The unique request ID. | 51899B6F-04A5-5B96-977D-340673091ACA |
Success | boolean | Indicates whether the operation was successful. Valid values:
| true |
ZoneId | string | The zone ID. | 173671468000011 |
Examples
Success response
JSON format
{
"RequestId": "51899B6F-04A5-5B96-977D-340673091ACA",
"Success": true,
"ZoneId": "173671468000011"
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.