Hello,
i am trying to use the DomainWhois endpoint of the WHMCS internal API to check if a domain is available for registration. This is my code:
$res = localAPI('DomainWhois', array(
'domain' => $domain
));
My problem now is, that this is returning
{
"result": "success",
"status": "error",
"whois": null
}
for some tlds, for example .lol, .xyz (i did not tested all). it does not matter if the checked domain is registered or not. The tld pricing and registrar module are configured for the tlds in WHMCS.
I am using the latest WHMCS 8.8.
Is this a known issue? Is there a solution or any other way to check domain availability in my own addon module?
best regards
Luca