domaingetnameservers
Purpose
This command is used to obtain the nameservers of a domain
Attributes
- domainid - Domain ID OR
- domain - The domain name
Example Command
$postfields = array(); $postfields["responsetype"] = "json"; $postfields["action"] = "domaingetnameservers"; $postfields["domainid"] = "1"; $result = mikrovps_SendCommand( $postfields );
Successful Response
Array ( [result] => success [ns1] => ns0.mikrovps.hu [ns2] => ns1.mikrovps.hu [ns3] => [ns4] => [ns5] => [error] => )
Error Response
result=error message=Domain ID Not Found
Domain ID not found in the database
result=error message=Registrar Error Message error=xxx
Error values from registrar