I wrote:
> 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:
> ...
> This, on the other hand, implies that 'host' does deal in IP addresses.
> Looks like a bug in the man page.
Adam Shand writes:
> this
> 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:
> This, on the other hand, implies that 'host' does deal in IP addresses.
> Looks like a bug in the man page.
this is a little old (i've been lazy
Adrian writes:
> 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
On Fri, Aug 14, 1998 at 01:40:10PM -0400, Michael Stone wrote:
> Quoting Robert J. Alexander ([EMAIL PROTECTED]):
> > The debugging I and a friend in IBM have been doing seem to pinpoint the
> > resolver problems I had to the release of libc6 we just both upgraded
> > to:
> > Version: 2.0.7t-1
> >
Quoting Robert J. Alexander ([EMAIL PROTECTED]):
> If you do a "strace 127.0.0.1" you will see that the host command
> command used in this way WILL take a look to your /etc/nsswitch.conf
> file and if the latter has a hosts: files,dns line in it, will open
> your /etc/hosts file, read from it and
Michael Stone wrote:
>
> That is the correct behavior. The host program only queries DNS servers;
> it does not consult the local host table. You can try pinging a hostname
> in the host table to see if it resolves.
>
Well let's try to close this issue once for all to everybody's relief.
First
Robert J. Alexander writes:
> The debugging I and a friend in IBM have been doing seem to pinpoint the
> resolver problems I had to the release of libc6 we just both upgraded to:
> Version: 2.0.7t-1
> with this installed even if your /etc/nsswitch.conf and your /host.conf
> files point to /etc/hos
Quoting Robert J. Alexander ([EMAIL PROTECTED]):
> The debugging I and a friend in IBM have been doing seem to pinpoint the
> resolver problems I had to the release of libc6 we just both upgraded
> to:
> Version: 2.0.7t-1
>
> with this installed even if your /etc/nsswitch.conf and your
> /host.con
The debugging I and a friend in IBM have been doing seem to pinpoint the
resolver problems I had to the release of libc6 we just both upgraded
to:
Version: 2.0.7t-1
with this installed even if your /etc/nsswitch.conf and your /host.conf
files
point to /etc/hosts, the host command never even tries
9 matches
Mail list logo