Creates a real-time domain name resolution task.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionNo |
string |
No |
The region ID. |
cn-shanghai |
| FirewallType |
string |
No |
The type of the Cloud Firewall. Valid values:
|
internet |
| DomainName |
string |
No |
The domain name. |
example.com |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The ID of the request. |
||
| RequestId |
string |
The ID of the request. |
337A4DBA-8A01-5E9C-99CA-84293E13**** |
Examples
Success response
JSON format
{
"RequestId": "337A4DBA-8A01-5E9C-99CA-84293E13****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorParametersUid | The aliUid parameter is invalid. | The aliUid parameter is invalid. |
| 400 | ErrorFirewallTypeDuplicates | firewallType duplicates. | Private DNS endpoint already exists for selected firewall boundary |
| 400 | ErrorDomainName | The domain name is invalid. | The domain name is invalid. |
| 400 | ErrorDBSelect | An error occurred while querying database. | An error occurred while querying database. |
| 400 | ErrorDomainResolve | An error occurred while resolving the domain. | An error occurred while resolving the domain. |
| 400 | ErrorMarshalJSON | An error occurred while encoding JSON. | An error occurred while encoding JSON. |
| 400 | ErrorRegionNo | regionNo error. | Region selection error, please re-enter. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.