Sergey Sedyshev

Results 23 comments of 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: ![image](https://user-images.githubusercontent.com/6779324/67944271-1c2c5880-fbed-11e9-8092-2bed0c4bb52f.png) ![image](https://user-images.githubusercontent.com/6779324/67944362-58f84f80-fbed-11e9-9296-4c184756c712.png) 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: ![image](https://user-images.githubusercontent.com/6779324/83545768-586bc280-a508-11ea-94bb-4e4d120a896b.png) 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...