You can configure domain names.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dm:DescDomain |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DomainId |
integer |
Yes |
The ID of the domain name. Call the QueryDomainByParam operation to obtain this ID. |
13464 |
| RequireRealTimeDnsRecords |
boolean |
No |
Specifies whether to perform real-time DNS resolution. |
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| SpfRecord |
string |
The SPF record value from the Direct Mail console. |
include:spf1.dm.aliyun.com |
| CnameConfirmStatus |
string |
Specifies whether the host record of the CNAME record was modified. A value of 1 means the record was modified. Reverting to the original value is also considered a modification. A value of 0 means the record was not modified. |
0 |
| DefaultDomain |
string |
Specifies if the domain name is the default domain name. A value of 0 means it is not the default domain name. This parameter is deprecated. |
0 |
| CreateTime |
string |
The time when the domain name was created. |
2025-03-19T12:49Z |
| CnameRecord |
string |
The custom part of the CNAME host record. |
dmtrace |
| CnameAuthStatus |
string |
The CNAME verification status. Valid values: 0 (successful) and 1 (failed). |
1 |
| IcpStatus |
string |
The ICP filing status. A value of 1 means the domain name has an ICP filing. A value of 0 means the domain name does not have an ICP filing. |
1 |
| DnsTxt |
string |
The ownership record value resolved from the public domain name. |
0c40d5f125af4e42892a |
| DomainName |
string |
The domain name. |
test.example.net |
| DomainId |
string |
The ID of the domain name. |
158910 |
| DnsSpf |
string |
The SPF record value resolved from the public domain name. |
v=xxxx |
| SpfAuthStatus |
string |
The SPF verification status. Valid values: 0 (successful) and 1 (failed). |
1 |
| RequestId |
string |
The ID of the request. |
51B74264-46B4-43C8-A9A0-6B8E8BC04F34 |
| MxRecord |
string |
The MX record value from the Direct Mail console. |
mx01.dm.aliyun.com |
| MxAuthStatus |
string |
The MX verification status. Valid values: 0 (successful) and 1 (failed). |
1 |
| DnsMx |
string |
The MX record value resolved from the public domain name. |
mx01.dm.aliyun.com |
| DomainStatus |
string |
The status of the domain name, which indicates whether the domain passed verification. Valid values:
|
1 |
| TlDomainName |
string |
The root domain name. |
example.com |
| TracefRecord |
string |
The CNAME record value from the Direct Mail console. |
tracedm.aliyuncs.com |
| DomainType |
string |
The ownership record from the Direct Mail console. |
0c40d5f125af4e42892a |
| SpfRecordV2 |
string |
The SPF record. Previously, clients had to calculate the displayed SPF content based on the spfRecord parameter in the response. The new spfRecordV2 parameter replaces spfRecord. Clients can directly display the value of this parameter. |
v=spf1 include:spf1.dm.aliyun.com -all |
| DkimRR |
string |
The DKIM host record. This is the key for the DKIM record to configure in your DNS settings. |
aliyun-cn-hangzhou._domainkey.hangzhou26 |
| DkimPublicKey |
string |
The DKIM public key. This is the value for the DKIM record to configure in your DNS settings. |
v=DKIM1; k=rsa; p=MIGfMA0GCSqGSI... |
| DkimAuthStatus |
string |
The DKIM verification status. This indicates if the DKIM record that you configured in your DNS settings passed verification. Valid values: 0 (passed) and 1 (not passed). |
0 |
| HostRecord |
string |
The host record. |
xxx |
| DmarcRecord |
string |
The DMARC record value. |
v=DMARC1;p=none;rua=mailto:dmarc_report@service.aliyun.com |
| DnsDmarc |
string |
The DMARC record value resolved from the public domain name. |
v=DMARC1;p=none;rua=mailto:dmarc_report@service.aliyun.com |
| DmarcAuthStatus |
integer |
The DMARC verification status. This indicates if the DMARC record that you configured in your DNS settings passed verification. Valid values: 0 (passed) and 1 (not passed). |
1 |
| DmarcHostRecord |
string |
The DMARC host record value. |
_dmarc.xxx |
| DkimRsaLength |
integer |
Examples
Success response
JSON format
{
"SpfRecord": "include:spf1.dm.aliyun.com",
"CnameConfirmStatus": "0",
"DefaultDomain": "0",
"CreateTime": "2025-03-19T12:49Z",
"CnameRecord": "dmtrace",
"CnameAuthStatus": "1",
"IcpStatus": "1",
"DnsTxt": "0c40d5f125af4e42892a",
"DomainName": "test.example.net",
"DomainId": "158910",
"DnsSpf": "v=xxxx",
"SpfAuthStatus": "1",
"RequestId": "51B74264-46B4-43C8-A9A0-6B8E8BC04F34",
"MxRecord": "mx01.dm.aliyun.com",
"MxAuthStatus": "1",
"DnsMx": "mx01.dm.aliyun.com",
"DomainStatus": "1",
"TlDomainName": "example.com",
"TracefRecord": "tracedm.aliyuncs.com",
"DomainType": "0c40d5f125af4e42892a",
"SpfRecordV2": "v=spf1 include:spf1.dm.aliyun.com -all",
"DkimRR": "aliyun-cn-hangzhou._domainkey.hangzhou26",
"DkimPublicKey": "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSI...",
"DkimAuthStatus": "0",
"HostRecord": "xxx",
"DmarcRecord": "v=DMARC1;p=none;rua=mailto:dmarc_report@service.aliyun.com",
"DnsDmarc": "v=DMARC1;p=none;rua=mailto:dmarc_report@service.aliyun.com",
"DmarcAuthStatus": 1,
"DmarcHostRecord": "_dmarc.xxx",
"DkimRsaLength": 0
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.