QueryDomainByDomainName
Queries the information about a domain name by domain name.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
domain:QueryCommonInfo |
get |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| UserClientIp |
string |
No |
The IP address of the user. |
127.0.0.1 |
| Lang |
string |
No |
The language of the error message that is returned. Valid values:
Default value: en. |
en |
| DomainName |
string |
Yes |
The domain name. |
example.com |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| CnnicPrivacyServiceStatus |
string |
The status of the privacy protection service for .cn domain names. |
UN_SUPPORT |
| DnsList |
object |
||
| Dns |
array |
The list of DNS servers. |
|
|
string |
A DNS server. |
dns1.hichina.com,dns2.hichina.com |
|
| DomainGroupId |
integer |
The ID of the domain group. You can obtain the ID by calling the QueryDomainGroupList operation. |
123456 |
| DomainGroupName |
string |
The name of the domain group. |
测试分组 |
| DomainName |
string |
The domain name. |
example.com |
| DomainNameProxyService |
boolean |
Indicates whether privacy protection is enabled. |
false |
| DomainNameVerificationStatus |
string |
The status of the domain name review. Valid values:
|
SUCCEED |
| DomainStatus |
string |
The status of the domain name. Valid values:
|
3 |
| DomainType |
string |
The type of the domain name. Valid values:
|
gTLD |
|
string |
The registrant's email. |
username@example.com |
|
| EmailVerificationClientHold |
boolean |
Indicates whether the domain name has a |
false |
| EmailVerificationStatus |
integer |
The email verification status. Valid values:
|
1 |
| ExpirationCurrDateDiff |
integer |
The number of days until the expiration date. |
356 |
| ExpirationDate |
string |
The expiration date of the domain name. |
2019-12-07 17:02:13 |
| ExpirationDateLong |
integer |
The timestamp of the expiration date. |
1625111915000 |
| ExpirationDateStatus |
string |
The expiration status of the domain name. Valid values:
|
1 |
| InstanceId |
string |
The instance ID of the domain name. |
S20179H1BBI9**** |
| Premium |
boolean |
Indicates whether the domain name is a premium domain. |
false |
| PrivacyServiceStatus |
string |
The status of the privacy protection service. |
UN_SUPPORT |
| RealNameStatus |
string |
The real-name verification status of the domain name. Valid values:
|
NONAUDIT |
| RegistrantName |
string |
The name of the individual registrant or the contact person for an organization. |
Test litm |
| RegistrantOrganization |
string |
The name of the registrant organization. |
Test litm |
| RegistrantType |
string |
The type of the registrant. Valid values:
|
1 |
| RegistrantUpdatingStatus |
string |
The status of registrant information updates. Valid values:
|
NORMAL |
| Registrar |
string |
The registrar of the domain name. |
|
| RegistrationDate |
string |
The registration date of the domain name. |
2017-12-07 17:02:13 |
| RegistrationDateLong |
integer |
The timestamp of the registration date. |
1584675448000 |
| Remark |
string |
The user-provided remark for the domain name. |
测试备注 |
| RequestId |
string |
The unique request ID. |
44101664-3E70-4F0E-89E5-CCB74BF***** |
| ResourceGroupId |
string |
The ID of the resource group. |
rg-acfmw6bpc6n7zai |
| Tag |
object |
The tags attached to the domain name. |
|
| Tag |
array<object> |
The list of tags. |
|
|
object |
A resource tag. |
||
| Key |
string |
The tag key. |
费用 |
| Vaue |
string |
The tag value. |
标签1 |
| TransferOutStatus |
string |
The status of the domain transfer out. Valid values:
|
NORMAL |
| TransferProhibitionLock |
string |
The status of the domain transfer lock. Valid values:
|
CLOSE |
| UpdateProhibitionLock |
string |
The status of the domain name security lock. Valid values:
|
CLOSE |
| UserId |
string |
The ID of the Alibaba Cloud account. |
121000000**** |
| ZhRegistrantName |
string |
The name of the contact person in Chinese. |
王先生 |
| ZhRegistrantOrganization |
string |
The name of the registrant in Chinese. |
王先生 |
Examples
Success response
JSON format
{
"CnnicPrivacyServiceStatus": "UN_SUPPORT",
"DnsList": {
"Dns": [
"dns1.hichina.com,dns2.hichina.com"
]
},
"DomainGroupId": 123456,
"DomainGroupName": "测试分组",
"DomainName": "example.com",
"DomainNameProxyService": false,
"DomainNameVerificationStatus": "SUCCEED",
"DomainStatus": "3",
"DomainType": "gTLD",
"Email": "username@example.com",
"EmailVerificationClientHold": false,
"EmailVerificationStatus": 1,
"ExpirationCurrDateDiff": 356,
"ExpirationDate": "2019-12-07 17:02:13",
"ExpirationDateLong": 1625111915000,
"ExpirationDateStatus": "1",
"InstanceId": "S20179H1BBI9****",
"Premium": false,
"PrivacyServiceStatus": "UN_SUPPORT",
"RealNameStatus": "NONAUDIT",
"RegistrantName": "Test litm",
"RegistrantOrganization": "Test litm",
"RegistrantType": "1",
"RegistrantUpdatingStatus": "NORMAL",
"Registrar": "",
"RegistrationDate": "2017-12-07 17:02:13",
"RegistrationDateLong": 1584675448000,
"Remark": "测试备注",
"RequestId": "44101664-3E70-4F0E-89E5-CCB74BF*****",
"ResourceGroupId": "rg-acfmw6bpc6n7zai",
"Tag": {
"Tag": [
{
"Key": "费用",
"Vaue": "标签1"
}
]
},
"TransferOutStatus": "NORMAL",
"TransferProhibitionLock": "CLOSE",
"UpdateProhibitionLock": "CLOSE",
"UserId": "121000000****",
"ZhRegistrantName": "王先生",
"ZhRegistrantOrganization": "王先生"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.