云解析怎么 获取域名信息
描述
根据传入参数查询指定域名的信息。
请求参数
返回参数
公共返回参数,详见
公共返回参数
错误码
对于所有接口的通用性错误,请参考
错误代码表。
示例
请求示例
- [backcolor=transparent]http[backcolor=transparent]:[backcolor=transparent]//alidns.aliyuncs.com/?Action=DescribeDomainInfo
- [backcolor=transparent]&[backcolor=transparent]DomainName[backcolor=transparent]=[backcolor=transparent]example[backcolor=transparent].[backcolor=transparent]com
- [backcolor=transparent]&<公共请求参数>
返回示例
XML格式
- [backcolor=transparent]<DescribeDomainInfoResponse>
- [backcolor=transparent] [backcolor=transparent]<RequestId>[backcolor=transparent]536E9CAD-DB30-4647-AC87-AA5CC38C5382[backcolor=transparent]</RequestId>
- [backcolor=transparent] [backcolor=transparent]<DomainId>[backcolor=transparent]00efd71a-770e-4255-b54e-6fe5659baffe[backcolor=transparent]</DomainId>
- [backcolor=transparent] [backcolor=transparent]<DomainName>[backcolor=transparent]example.com[backcolor=transparent]</DomainName>
- [backcolor=transparent] [backcolor=transparent]<AliDomain>[backcolor=transparent]true[backcolor=transparent]</AliDomain>
- [backcolor=transparent] [backcolor=transparent]<GroupId>[backcolor=transparent]2223[backcolor=transparent]</GroupId>
- [backcolor=transparent] [backcolor=transparent]<GroupName>[backcolor=transparent]MyGroup[backcolor=transparent]</GroupName>
- [backcolor=transparent] [backcolor=transparent]<InstanceId>[backcolor=transparent]i-7bg[backcolor=transparent]</InstanceId>
- [backcolor=transparent] [backcolor=transparent]<VersionCode>[backcolor=transparent]version1[backcolor=transparent]</VersionCode>
- [backcolor=transparent] [backcolor=transparent]<PunyCode>[backcolor=transparent]example.com[backcolor=transparent]</PunyCode>
- [backcolor=transparent] [backcolor=transparent]<DnsServers>
- [backcolor=transparent] [backcolor=transparent]<DnsServer>[backcolor=transparent]dns1.hichina.com[backcolor=transparent]</DnsServer>
- [backcolor=transparent] [backcolor=transparent]<DnsServer>[backcolor=transparent]dns2.hichina.com[backcolor=transparent]</DnsServer>
- [backcolor=transparent] [backcolor=transparent]</DnsServers>
- [backcolor=transparent]</DescribeDomainInfoResponse>
JSON示例
- [backcolor=transparent]{
- [backcolor=transparent] [backcolor=transparent]"RequestId"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"536E9CAD-DB30-4647-AC87-AA5CC38C5382"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"DomainId"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"00efd71a-770e-4255-b54e-6fe5659baffe"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"DomainName"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"example.com"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"AliDomain"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"true"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"GroupId"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"2223"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"GroupName"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"MyGroup"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"InstanceId"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"i-7bg"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"VersionCode"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"version1"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"PunyCode"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"example.com"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"DnsServers"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]{
- [backcolor=transparent] [backcolor=transparent]"DnsServer"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent][
- [backcolor=transparent] [backcolor=transparent]"ns1.alidns.com"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"ns2.alidns.com"
- [backcolor=transparent] [backcolor=transparent]]
- [backcolor=transparent] [backcolor=transparent]}
- [backcolor=transparent]}
收起
boxti
2017-10-18 10:22:45
1683
0
0
条回答
写回答
取消
提交回答