Modifies a Domain Name System (DNS) record based on the specified parameters.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Lang | string | No | The language. | en |
UserClientIp | string | No | The IP address of the client. | 192.0.2.0 |
RecordId | string | Yes | The ID of the DNS record. | 9999985 |
RR | string | Yes | The hostname. For example, if you want to resolve @.example.com, you must set RR to an at sign (@) instead of leaving it empty. | www |
Type | string | Yes | The type of the DNS record. For more information, see | A |
Value | string | Yes | The record value. | 192.0.2.254 |
TTL | long | No | The time-to-live (TTL) of the DNS record. Default value: 600. Unit: seconds. For more information, see | 600 |
Priority | long | No | The priority of the mail exchanger (MX) record. Valid values: This parameter must be specified if the type of the DNS record is MX. | 1 |
Line | string | No | default |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "536E9CAD-DB30-4647-AC87-AA5CC38C5382",
"RecordId": "9999985"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history