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

null response for .ch domains

Open deepika-maj opened this issue 5 years ago • 4 comments

the library is returning null response for .ch domains, for eg: swissinfo.ch

deepika-maj avatar Oct 31 '19 09:10 deepika-maj

Hmm, cant request via linux whois: image

image

Looks like .CN does not support standard whois protocol

io-developer avatar Oct 31 '19 11:10 io-developer

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

deepika-maj avatar Oct 31 '19 11:10 deepika-maj

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

https://www.nic.ch/whois/domaincheck

bessone avatar Nov 04 '19 16:11 bessone

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...

io-developer avatar Nov 05 '19 00:11 io-developer