sometimes i need only a connected or unconnected status of a domain.
for this i can use a short request to whois.denic.de without additional parameters.
but this not works it give me a php error:
$whois->UseServer('de','whois.denic.de');
1.lets work with the short result
status: connected
2. parse this error and maybe retry the request:
sometimes the denic give a errormessage:
% ERROR: 55000000002 Connection refused; access control limit reached.
3. if error parse this and give the status for the domain like "error" so my script can retry the request instead printing a "registered = no"
Logged In: NO
the best would be not to check for a string if the domain is registered but also for a string if the domain is not registered.
if the parse not found both strings: then the request answer with a error status
the .ch whois have also a strong access control limit :-(