Updates a DNS authoritative proxy domain.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alidns:UpdateDnsCacheDomain |
update |
*CacheDomain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the request and response. Valid values:
|
en |
| DomainName |
string |
Yes |
The domain name. To query the domain name, call DescribeDomains. |
example.com |
| InstanceId |
string |
No |
The ID of the authoritative proxy domain name instance. To query the instance ID, call ListCloudGtmInstances. |
dns-sg-l******* |
| CacheTtlMin |
integer |
No |
The minimum time-to-live (TTL) for cached data retrieved from the origin server. The value ranges from 30 to 86400. |
30 |
| CacheTtlMax |
integer |
No |
The maximum TTL for cached data retrieved from the origin server. The value ranges from 30 to 86400. |
86400 |
| SourceProtocol |
string |
No |
The origin protocol. Valid values: TCP and UDP. Default value: UDP. |
UDP |
| SourceEdns |
string |
No |
Specifies whether the origin server supports Extension Mechanisms for DNS (EDNS). SUPPORT: The origin server supports EDNS. NOT_SUPPORT: The origin server does not support EDNS. |
SUPPORT |
| SourceDnsServer |
array<object> |
No |
A list of origin DNS servers. You can add up to 10 servers. |
|
|
object |
No |
An origin DNS server. |
||
| Host |
string |
No |
The domain name or IP address of the origin server. |
192.168.0.1 |
| Port |
string |
No |
The port of the origin DNS server. |
53 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The unique request ID. |
536E9CAD-DB30-4647-AC87-AA5CC38C5382 |
Examples
Success response
JSON format
{
"RequestId": "536E9CAD-DB30-4647-AC87-AA5CC38C5382"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.