Re: WARNING : libc6 Version: 2.0.7t-1 breaks resolv routines
> It's wierder than that as someone at IBM pointed out - "host 127.0.0.1"
> _does_ read /etc/hosts, but "host localhost" doesn't. Strange.
>From the man page:
host [-v] [-a] [-t querytype] [options] name [server]
host looks for information about Internet hosts and domain
This implies that 'host' deals only in names and would therefor make 'host
127.0.0.1' undocumented behavior. However, the man page also says:
If the first argument is an Internet address, a query is
done on the special "reverse mapping" domain to look up
its associated host name.
This, on the other hand, implies that 'host' does deal in IP addresses.
Looks like a bug in the man page.
John Hasler This posting is in the public domain.
email@example.com Do with it what you will.
Dancing Horse Hill Make money from it if you can; I don't mind.
Elmwood, Wisconsin Do not send email advertisements to this address.