Response Samples

This request packet retrieves the status of remote DNS servers.

<packet version="1.4.2.0">
<dns>
<get-status-remote-dns>
</dns>
</packet>

 

The positive response from the server looks as follows:

<packet version="1.4.2.0">
<dns>
<get-status-remote-dns
<result>
<status>ok</status>
<dns_status>true</dns_status&gt;
</result>
</get-status-remote-dns>
</dns>
</packet>

 

If the packet is sent to Plesk for Unix server, the response is as follows:

<packet version="1.4.2.0">
<dns>
<disable-remote-dns>
<result>
<status>error</status>
<errcode>1014</errcode>
<errtext>Parser error: Request is invalid</errtext>
</result>
</disable-remote-dns>
</dns>
</packet>