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

Re: [cobalt-users] resolve ident



On Fri, 25 May 2001, Kai R Schantz wrote:

> Hi, 
> 
> when doing a netstat there will be records likr this:
> tcp        0      0 adslnett.no:www         spider-th043.prox:43331 TIME_WAIT 
> 
> How can I resolve the ident to "spider-th043.prox" ?
> 
> Thanks
> 
> Kai
> 

If you know the full hostname, then either:

host <hostname>
or
nslookup <hostname>
or
dig <hostname>

for various outputs.

unfortunately, netstat chops data out.
next time, tell him to tell you IPs immediately. it also saves the time of
resolves:

netstat -n

HTH,

- shimi.