> I thought that nslookup is going to find out the answer in 
> *exactly* the
> same way as the resolver library on my system does - that's what I
> learned from O'Reilly's "DNS and BIND".  Do you mean this is 
> not so and
> I don't have to trust it, as the book taught me? If so, what 
> do we still
> have nslookup for?

The definitive program to do a lookup the same way the resolver library does
is 'getent'.

Use 'getent hosts foo' to find out what the resolver thinks the host 'foo'
is.

-Ed

Reply via email to