php-whois icon indicating copy to clipboard operation
php-whois copied to clipboard

null response for .to domains

Open Jestergnet opened this issue 6 years ago • 2 comments

the library is returning null response for .to domains, Call to a member function getExpirationDate() on null

whois nnmclub.to -h whois.tonic.to Tonic whoisd V1.1 nnmclub ns1.nnm-club.cc nnmclub ns2.nnm-club.cc

Jestergnet avatar Nov 11 '19 15:11 Jestergnet

Hello, it is not the PHP client's fault, it is the whois server that returns only the nameservers without other information. In the PHP code you have to handle the exception if the properties are returned or not.

Then I noticed a strange thing making calls from the linux client, sometimes the whois.tonic.to server gives an empty answer: image

bessone avatar Nov 15 '19 09:11 bessone

as @bessone said it is the registrar based on https://www.tonic.to/faq.htm#16

Does Tonic offer a whois service? Tonic does not maintain a whois database that provides registrant information, as many of our customers consider the public display of this information invasive of their privacy. In fact, we will never sell a mailing list of our customers. We also do have a web-based facility similar to whois, that lists DNS and other domain name info, without revealing the customer name. Try for instance: http://www.tonic.to/whois?best.to. There is also a whois server on port 43 of whois.tonic.to.

zaherg avatar Mar 04 '20 19:03 zaherg