Manage unresponsive server
Description
I have a problem with a server that is not responding. The library, starting from the configured whois server, returns the whois text by querying the server of the registrar indicated, when indicated, in the first result of the whois of the tld.
How to reproduce
In my case by querying whois.nic.fun for the google.fun domain I get the result of whois.markmonitor.com
But doing the whois for valentino.fun the request remains hung, because the server whois.ukraine.com.ua of the registrar returned in the first request does not respond.
Possible Solution
Is there a way to return the first whois (that of the json configuration server) when the whois server of the registrar gives an error or does not respond by going out of time?
I hope I explained myself
Thanks
Ciao riccardo