[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Name lookup question



On Thu, May 12, 2005 at 09:39:27AM -0700, Collins, Kevin  [MindWorks] alleged:
> Yes, that makes sense, I guess. The biggest issue I have is that I don't
> have a good tool to see how the OS is resolving a certain name or IP

You are looking for 'getent'.  It is a simple command-line frontend to
get*by*() functions.  'getent hosts foo' will lookup "foo".

Attachment: pgpDSlGtoFeTC.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]