Hi list!
I use the WhoisClient, which is fairly easy:
WhoisClient w = new WhoisClient();
w.connect(whoisServer);
String result = w.query(domainName);
w.disconnect();
But if the domain name is punicode (for example for german Umlauts) than the
result is always:
Domain: xn--bandscheibenvorflle-vwb.de
Status: invalid
But if I query the whois directly, the correct answer is given.
Do anybody has any idea to this?
Thanks in advance
Bernd
-------------------------------------------
camunda GmbH - The Business Process Company
Beim Oelsteg 10 - 97980 Bad Mergentheim
www.camunda.com - info@camunda.com
-------------------------------------------
Bernd Rücker
Geschäftsführer
Telefon +49 7931 99190-112
bernd.ruecker@camunda.com
-------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
|