Remote DNS servers are enabled or disabled. If remote DNS servers are disabled, all zones are served by the local DNS server. Use the get-status-remote-dns to retrieve the status of remote DNS servers.
This node is available only in Plesk for Windows 8.1 and next versions.
A request XML packet, that retrieves the status of remote DNS servers, includes the get-status-remote-dns operation node:
<packet version="1.4.2.0">
<dns>
<get-status-remote-dns/>
</dns>
</packet>
The graphical representation of the get-status-remote-dns node is as follows:
The get-status-remote-dns node is presented by type DNSEnableRemoteDNS (dns_output.xsd
) and is structured as follows:
common.xsd
).
This request packet retrieves the status of remote DNS servers.
<packet version="1.6.7.0">
<dns>
<get-status-remote-dns/>
</dns>
</packet>
Response:
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.7.0">
<dns>
<get-status-remote-dns>
<result>
<status>ok</status>
<dns-status>false</dns-status>
</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>