Port of hostinfo 2.2, a simple program to retrieve host information from an URL/IP address.