Retrieving Recursion Type

The get-recursion operation is used to retrieve a type of recursion.

  

In this chapter:

Request Packet Structure

Response Packet Structure

Samples

 
Request Packet Structure

A request XML packet, that retrieves a type of recursion, includes the get-recursion operation node:

<packet version="1.4.2.0">
<dns>
   <get-recursion/>
 </dns>
</packet>

 

The graphical representation of the get-recursion node is as follows:

 
Response Packet Structure

The get-recursion node is presented by type DNSGetRecursionOutputType (dns_output.xsd) and is structured as follows:

  • The result node is required. It wraps the information got from the server. Data type: resultType (common.xsd).
  • The status node is required. It specifies the execution status of the get-recursion operation. Data type: string. Allowed values: ok | error.
  • The errcode node is optional. It is used to return the error code when the get-recursion operation fails. Data type: unsignedInt.
  • The errtext node is optional. It is used to return the error message if the get-recursion operation fails. Data type: string.
  • The value node is optional. It is used to return a type of recursion if the get-recursion operation succeeds. Data type: string.

 

 
Samples

This request packet retrieves the recursion type.

<packet version="1.4.2.0">
<dns>
 <get-recursion/>
 </dns>
</packet>

Response:

<packet version="1.4.2.0">
<dns>
 <get-recursion>
  <result>
   <status>ok</status>
   <value>on</value>
  </result>
 </get-recursion>
</dns>
</packet>