[Jim's Web Nook | Software | hostinfo]


hostinfo

Here's what's here:


What's New

2000-Jul-20
Version 2.2 released. Added -p/--print option for printing addresses without looking them up. This enables hostinfo to act as a simple converter between dotted-quad, hexadecimal, and backslash-octal IP address formats. Improved handling of syntax errors in command line options (for example).
2000-Jun-14
Version 2.1 released. A few minor but significant changes to the output format. Hosts with multiple IP addresses now display in multiple records, one per address. Added --first-address option, to display only the first address of a host that maps to more than one IP address.

What It Is

Hostinfo is a utility for looking up hostnames and IP(v4) addresses. Hostinfo uses the gethostbyname(3) and getaddrbyname(3) function calls, which means it tells you what your operating system thinks rather than simply telling you what you already know your DNS server says.

If you don't know what most or all of the above paragraph means, you probably don't need this utility.

Why To Use It

Hostinfo differs from other host-lookup utilities in the following ways:

What's The Catch

Hostinfo comes with no documentation other than its extensive, clearly written, superior quality builtin help. There are no building or installation instructions, albeit the accompanying clearly written, easy-to-use Makefile makes building and installing hostinfo from source a snap.

Hostinfo works for me with a wide variety of Linux systems. If it doesn't work for you, consider letting me know what broke and how you fixed it.

Caveat utilisor.

Where To Get It

The current version is 2.2, dated (just barely) 2000-Jul-20.

Hostinfo ships with a very liberal license.

Hostinfo is available right here:

The following RPM packages are available as well [Red Hat Linux 5.2, glibc-2.0.7, rpm-3.0.3]:

Older Versions

Versions 1.0 and 1.1 were never publically released.


Copyright © 1996-2001 Jim Knoble and Liquid Meme. All rights reserved.  |  Last modified: 2001-Jul-24 14:59 GMT-0500

[Jim's Web Nook | Software | hostinfo]