WebhostingDNSOption

Enable or disable DNS management for webhosting hosting package. For reseller packages DNS management is standard standard turned on.

Input

Parameter Value Example value
username Webhosting username.
Parameter is required
keeshz51
dns DNS management on or off?
Parameter is required
1 = yes
0 = no


Output

Parameter Value Example value
success command executed successfully 0 = fout
1 = command executed successfully
command_response_message Error
Only sent when value parameter success = 0
incorrect password


Example

<? require("class_versio_api.php"); unset($command); $command = array( "command" => "WebhostingDNSOption", "username" => "keeshz51", "dns" => "1" ); $api = new Versio_api(); $versio = $api->api_send( $command ); IF($versio['success']==0) { echo("Error occured. Error code: ".$versio['command_response_code'].". Error message: ".$versio['command_response_message'].""); } else { echo("Success."); } ?>