Response Samples

Updating a single SOA record

This request packet updates a SOA record of the domain with ID 12.

<packet version="1.4.2.0">
<dns>
 <set>
  <filter>
   <domain_id>12</domain_id>
  </filter>
  <soa>
   <ttl>86400</ttl>
   <refresh>10800</refresh>
   <retry>3600</retry>
   <expire>604800</expire>
   <minimum>10800</minimum>
  </soa>
 </set>
</dns>
</packet>

 

The positive response from the server looks as follows:

<packet version="1.4.2.0">
<dns>
 <set>
  <result>
   <status>ok</status>
   <domain_id>12</domain_id>
  </result>
 </set>
</dns>
</packet>

 

If the domain with ID 12 was not found on the server, the negative response looks as follows:

<packet version="1.4.2.0">
<dns>
 <set>
  <result>
   <status>error</status>
   <errcode>1015</errcode>
   <errtext>Domain does not exist</errtext>
   <domain_id>12</domain_id>
  </result>
 </set>
</dns>
</packet>

 

Updating multiple SOA records

This request packet updates SOA records of the domains with ID 12 and ID 13.

<packet version="1.4.2.0">
<dns>
 <set>
  <filter>
   <domain_id>12</domain_id>
   <domain_id>13</domain_id>
  </filter>
  <soa>
   <ttl>86400</ttl>
   <refresh>10800</refresh>
   <retry>3600</retry>
   <expire>604800</expire>
   <minimum>10800</minimum>
  </soa>
 </set>
</dns>
</packet>

 

If the domain with ID 13 was not found on the server, and the domain with ID 12 was updated, the response packet looks as follows:

<packet version="1.4.2.0">
<dns>
 <set>
  <result>
   <status>ok</status>
   <domain_id>12</domain_id>
  </result>
  <result>
   <status>error</status>
   <errcode>1015</errcode>
   <errtext>Domain alias does not exist.</errtext>
   <domain_id>13</domain_id>
  </result>
 </set>
</dns>
</packet>