Menu

#131 Wrong registration status with three letter .name domains

v1.0 (example)
open
nobody
5
2013-05-25
2013-05-25
twigmac
No

Thanks for publishing phpwhois. Great job!

I think I found a bug with the registration status of .name domains. When I checked sun.name I expected it to be registered. Registrars like 1&1 infact report that it's registered but phpwhois reports that it's not registered.

This also holds for other three letter domains like abc.name or xyz.name. Can you confirm, that there's a bug in the .name handler?

Thanks!

Example:
[...]
$whois = new Whois();
$result = $whois->Lookup("sun.name");
//$result = $whois->Lookup("abc.name");
//$result = $whois->Lookup("xyz.name");
$registered = $result["regrinfo"]["registered"];
return $registered == "yes"; // returns false, shouldn't it return true?

Discussion


Log in to post a comment.