描述
根据传入参数获取子域名的解析记录列表。
请求参数
返回参数
公共返回参数,详见
公共返回参数
错误码
对于所有接口的通用性错误,请参考
错误代码表。
示例
请求示例
http://alidns.aliyuncs.com/?Action=DescribeSubDomainRecords&SubDomain=www.abc.com&PageNumber=1&PageSize=20&Type=CNAME&<公共请求参数>
返回示例
XML格式
<DescribeSubDomainRecordsResponse><RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId><TotalCount>2</TotalCount><PageNumber>1</PageNumber><PageSize>2</PageSize><DomainRecords><Record><DomainName>example.com</DomainName><RecordId>9999985</RecordId><RR>www</RR><Type>CNAME</Type><Value>mail1.hichina.com</Value><Line>default</Line><TTL>600</TTL><Status>Enable</Status><Locked>false</Locked><Weight>10</Weight></Record><Record><DomainName>example.com</DomainName><RecordId>9999986</RecordId><RR>www</RR><Type>CNAME</Type><Value>mail2.hichina.com</Value><Line>default</Line><TTL>600</TTL><Status>Enable</Status><Locked>false</Locked><Weight>10</Weight></Record></DomainRecords></DescribeSubDomainRecordsResponse>
JSON示例
{"RequestId": "536E9CAD-DB30-4647-AC87-AA5CC38C5382","TotalCount": 2,"PageNumber": 1,"PageSize": 2,"DomainRecords": {"Record": [{"DomainName": "example.com","RecordId": "9999985","RR": "www","Type": "CNAME","Value": "mail1.hichina.com","Line": "default","TTL": 600,"Status": "Enable","Locked": false,"Weight": 10},{"DomainName": "example.com","RecordId": "9999986","RR": "www","Type": "CNAME","Value": "mail2.hichina.com","Line": "default","TTL": 600,"Status": "Enable","Locked": false,"Weight": 10}]}}