GET api/2.0/mailserver/domains/dns/get
Returns DNS records related to the domain with the ID specified in the request.
Name |
Description |
Type |
Example |
id
sent in url
|
Domain ID
|
number
|
1234
|
GET api/2.0/mailserver/domains/dns/get?id=1234
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
DNS records associated with the domain
application/json
{
"status": 0,
"response": {
"Id": 1234,
"MxRecord": {
"Host": "Host",
"Priority": 1234,
"IsVerified": true
},
"SpfRecord": {
"Name": "name",
"Value": "value",
"IsVerified": true
},
"DkimRecord": {
"Selector": "Selector",
"PublicKey": "PublicKey",
"IsVerified": true
},
"DomainCheckRecord": {
"Name": "name",
"Value": "value",
"IsVerified": true
}
}
}
text/xml
<result>
<status>0</status>
<response>
<Id>1234</Id>
<MxRecord>
<Host>Host</Host>
<Priority>1234</Priority>
<IsVerified>True</IsVerified>
</MxRecord>
<SpfRecord>
<Name>name</Name>
<Value>value</Value>
<IsVerified>True</IsVerified>
</SpfRecord>
<DkimRecord>
<Selector>Selector</Selector>
<PublicKey>PublicKey</PublicKey>
<IsVerified>True</IsVerified>
</DkimRecord>
<DomainCheckRecord>
<Name>name</Name>
<Value>value</Value>
<IsVerified>True</IsVerified>
</DomainCheckRecord>
</response>
</result>