Enabling Remote DNS Support
The enable-remote-dns operation is used to disable the local DNS server, and you can use remote DNS servers.
This node is available only in Plesk for Windows 8.1 and next versions.
Request Packet Structure
A request XML packet, that enables use of remote DNS servers, includes the enable-remote-dns operation node:
<packet> <dns> <enable-remote-dns/> </dns> </packet>
The graphical representation of the enable-remote-dns node is as follows:
Response Packet Structure
The enable-remote-dns node is presented by type DNSEnableRemoteDNS (
dns_output.xsd) and is structured as follows:
- The result node is required. It wraps the information got from the server. Data type: resultType (
- The status node is required. It specifies the execution status of the enable-remote-dns operation. Data type: string. Allowed values: ok | error.
- The errcode node is optional. It is used to return the error code when the enable-remote-dns operation fails. Data type: unsignedInt.
- The errtext node is optional. It is used to return the error message if the enable-remote-dns operation fails. Data type: string.
This request packet enables use of remote DNS servers.
<packet version="126.96.36.199"> <dns> <enable-remote-dns/> </dns> </packet>
<packet version="188.8.131.52"> <dns> <enable-remote-dns> <result> <status>ok</status> </result> </enable-remote-dns> </dns> </packet>
If the packet is sent to Plesk for Unix server, the response is as follows:
<packet version="184.108.40.206"> <dns> <enable-remote-dns> <result> <status>error</status> <errcode>1014</errcode> <errtext>Parser error: Request is invalid</errtext> </result> </enable-remote-dns> </dns> </packet>
Leave your comments on this page
Leave your feedback or question on this documentation topic below. For technical assistance, contact your hosting service provider or submit a request to Plesk support. Suggest new features for Plesk here. Discuss general questions on the Plesk forum. All offtopic comments will be removed.