php-whois
php-whois copied to clipboard
issue with registrar value
PHP-Whois version: 4.0.0 PHP version: 7.4
It seems like there is a bug on the logic to parse registrar value. As per my understanding, the registrar should be one of the registrar defined in https://www.iana.org/assignments/registrar-ids/registrar-ids.xml or optionally using registry value of the tld manager defined in https://www.iana.org/domains/root/db
However the library is returning incorrect values for registrar, e.g. try checking for following domains:
- hotmail.com.br : Corporation Service Company
- webarmarinhos.com.br : ALEX SANDRO GAMA DA SILVA
Probably this issue is on other tld as well.
Well...
For example:
Where is entry point here for registrar resolving.. Any ideas?
I am not sure, may be the "provider:" line is the registrar (non ICANN accredited). But "ALEX SANDRO GAMA DA SILVA" is definitely not a registrar here which the library is returning.