Check DNS Entry Existence - has dns entry
Method for checking whether a domain has a DNS zone configured on our nameservers ns.forpsi.hu and ns2.forpsi.hu. Returns true or false.
If the domain does not have a DNS entry, it can be created using the create dns entry command. For a domain that already has a DNS entry, the list dns records command can be used to retrieve the individual DNS records.
<?php $result = $client->sendCommand("has dns entry",array( "domain" => "example.cz" )); if(!$result->isSuccess()){ die("error"); } if($result->getData()){ // domain has a DNS entry } ?>