Open deepika-maj opened 5 years ago
Hmm, cant request via linux whois:
Looks like .CN does not support standard whois protocol
the cli command whois swissinfo.ch -h whois.nic.ch
works within my mac terminal however it does not work on an ubuntu like you said.
seems like a strange issue within that whois server
In my experience is not possible make a whois on whois.nic.ch on port 43, you must use the web page protected by a captcha.
It's possible to make a domain check using whois.nic.ch on port 4343 (https://www.nic.ch/whois/domaincheck/)
whois swissinfo.ch -h whois.nic.ch -p 4343
returns a custom response to indicate the status of the domain, I have not found other ways to not use the web page https://www.nic.ch/whois/
the Swiss are jealous of their whois
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...
the library is returning null response for .ch domains, for eg:
swissinfo.ch