alex - - 2008-12-28

Bug report:
awstats-6.9.tar.gz
plugin: hostinfo

perl-Net-XWhois-0.90-1.2.el4.rf

Plugin hostinfo can not resolve South Korea (Seocho) IP address. Error Message received when quering IP 218.239.45.181 is:

Error: IO::Socket::INET: Bad hostname 'whois.nida.or'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The error is caused due to invalid whois query sent to whois.nida.or and not to whois.nida.or.kr

I want to mention that config file, permissions and AWStats are working correct with any other IPs.

URL Query string below, will work ok with any other non Koreean IP:
http://www.my.dom/awstats/awstats.pl?pluginmode=hostinfo&config=www.my.dom&host=218.239.45.181&key=218.239.45.181XXX

Can anybody fix this bug?

Regrads,
Alx