gethost CHANGES

05/Jul/2002	Version 0.03

		Exit when an unknown command-line option is found.

		Return value is always reset to zero for next lookup.

		Don't exit on any lookup errors, just continue to next
		lookup. (Return value will reflect last problem.)

		Manual page (documentation) written.

		If a colon ":" in hostname, also assume they want
		reverse lookup of IPv6 address.

		Make sure you can separately time each lookup (when
		doing multiple lookups on one command line).

04/Jul/2002	Split up code so resolving is done in separate function;
		and make it so now you can have multiple hostnames or
		IPs on command line and use different switches for
		each.

		Change some error messages to be more understandable.
		Use strerror(errno) instead of hstrerror(h_errno) for
		inet(3) error.

		Support IPv6. Added -6 option. Or if hostname contains
		":" then assume it is IPv6.

		Use inet_pton(3) instead of inet_aton(3) to convert to
		network format.

		Use inet_ntop(3) to convert from network format to
		presentation format (the output string) instead of using
		(0xff & h->h_addr_list[idx][0])
		conversion so it will work with IPv6.

		Make sure gethostbyaddr(3) is used correctly for IPv6.

		Make sure hostname ends with '\0' character.

		Use gethostbyname2 instead of gethostbyname.

		(Thanks to Jun-ichiro "itojun" Hagino for assistance.)

		Have different return values for different problems.

12/Apr/2002	Version 0.02

		Added stdlib.h to get rid of warnings due to malloc
		and free.

		Exit status is 1 on problems.

		Got rid of unused "u_int32_t in".

		Better error message for inet_aton(3) problems. 

		Display elapsed time after everything else printed
		(but elapsed time doesn't include the printing time). 

		Shortened output, removed "Official", "IP" and tab
		before "Alias".

		Made sure problems are sent to stderr.

		Made Makefile.

29/Mar/2002	Version 0.01

		Consolidated my ga.c and gh.c to make one gethost.c.

		Minor code cleanup.

18/Sep/2001	Made ga.c to do reverse lookups partially based on
		gh.c code.

20/Apr/2001	Minor changes to Bruce Ediger's code.
