QueryDnsHost
Queries the DNS host of a domain name.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
domain:QueryDnsHost |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID of the domain name. You can obtain the ID by calling the QueryDomainList operation. |
ST2017120814571100001303 |
| Lang |
string |
No |
The language of the error message returned by the API operation. Valid values:
Default value: en. |
en |
| UserClientIp |
string |
No |
The IP address of the user. |
127.0.0.1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
18A313DD-3AF3-40AA-84F9-56BA45DC511F |
| DnsHostList |
array<object> |
The DNS host information. |
|
|
object |
|||
| DnsName |
string |
The DNS name. |
ns3 |
| IpList |
array |
The list of IP addresses corresponding to the DNS host. |
|
|
string |
The IP address. |
185.27.XX.XX, 218.83.XX.XX |
Examples
Success response
JSON format
{
"RequestId": "18A313DD-3AF3-40AA-84F9-56BA45DC511F",
"DnsHostList": [
{
"DnsName": "ns3",
"IpList": [
"185.27.XX.XX, 218.83.XX.XX"
]
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.