domainwhois
Purpose
This command is used to perform a whois lookup on a specified domain.
Attributes
- domain - the domain to check
Example Command
$postfields = array(); $postfields["responsetype"] = "json"; $postfields["action"] = "domainwhois"; $postfields["domain"] = "domain.tld"; $result = mikrovps_SendCommand( $postfields );
Successful Response
result = success status = xxx # WHOIS status whois = xxx # WHOIS info
Error Response
result = error message = Domain Not Valid
Domain entered is not valid