Sergey Sedyshev
Sergey Sedyshev
It's good. However `composer.json` should be updated by users I guess (for long term cases) For now I have composer page here - https://packagist.org/packages/io-developer/php-whois I guess new page should be...
Hmm, cant request via linux whois:   Looks like .CN does not support standard whois protocol
Very hard terms of use (section 2): https://www.nic.ch/terms/aup/ Maximum what can be done is custom parser for SWITCH. And simple checking domain is registered/free...
Well... For example:  Where is entry point here for registrar resolving.. Any ideas?
Note: ``` ["text"]=> string(74) "whois.domain-registry.nl: maximum number of requests per second exceeded " ```
Wow! Very good feature. But I can implement it later (after ~2 weeks)
Currently you can use workaround with: ``` $whois = Whois::create(); $servers = $whois->getServers() (\Iodev\Whois\Modules\Tld\TldModule ::getServers()) ..find and remove bad TLDs from list.. ..add to $servers properly configured (\Iodev\Whois\Modules\Tld\TldServer::from...).. ..set new...
Your suggestion is OK. > and I doubt one can use the workaround on every whois query, What you mean? Do you create every time for query a new instance...
I see. OK *Notes:* * Found dig replacement `php -r 'var_dump(dns_get_record("be.whois-servers.net"));'` * Much more eficient way is to get whois hosts via whois protocol: ```php $tlds = TldHelper::loadTldList(); var_dump([ 'tlds'...
Thanks! Actually I used this case in dev branch (https://github.com/io-developer/php-whois/commits/tld_serverlist_updating) But I was stuck with performance issue and some thoughts: 1. Some lazy background process needed due to very very...