Modifies a built-in authoritative record for recursive resolution.
Operation description
If a DNS record is locked, it cannot be deleted.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
pubdns:UpdateRecursionRecord |
update |
*recursionRecord
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
A client token that ensures the idempotence of a request. Generate a unique value for this parameter on your client. The value can be up to 64 ASCII characters in length. |
21079fa016944979537637959d09bc |
| RecordId |
string |
No |
The ID of the DNS record. |
9******* |
| Rr |
string |
No |
The host record. This is the prefix of a domain name. Common prefixes are www, @, * for wildcard DNS, and mail for mailboxes. For example, to resolve @.example.com, set the host record to "@". Do not leave it empty. |
test |
| Type |
string |
No |
The type of the DNS record. The following types are supported: A: An IPv4 record that maps a domain name to an IPv4 address. AAAA: An IPv6 record that maps a domain name to an IPv6 address. CNAME: An alias record that points a domain name to another domain name. MX: A mail exchanger record that points a domain name to a mail server address. TXT: A text record that contains arbitrary human-readable text. SRV: A service record that identifies a server for a specific service. This is common in directory management for Microsoft systems. |
A |
| RequestSource |
string |
No |
The resolution line. The default value is default. For more information, see: |
WebSDK |
| Weight |
integer |
No |
The weight. An integer from 1 to 100, inclusive. The default value is 1. You can set different weights for each address. DNS queries return addresses in proportion to their weights. |
2 |
| Priority |
integer |
No |
The priority of the MX record. A smaller value indicates a higher priority. The value can be an integer from 1 to 99. |
5 |
| Ttl |
integer |
No |
The Time to Live (TTL) in seconds. Only the following values are supported: 5, 30, 60, 3600 (1 hour), 43200 (12 hours), and 86400 (24 hours). The default value is 60. |
60 |
| Value |
string |
No |
The record value. Enter a value that corresponds to the DNS record type. |
1.1.XX.XX |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
6856BCF6-11D6-4D7E-AC53-FD579933522B |
| RecordId |
string |
The ID of the DNS record. |
12***** |
Examples
Success response
JSON format
{
"RequestId": "6856BCF6-11D6-4D7E-AC53-FD579933522B",
"RecordId": "12*****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.