[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bind-users
Subject:    Re: How to get TEXT name for IP address on internet via command line.
From:       Barry Margolin <barry.margolin () level3 ! com>
Date:       2003-05-28 20:33:19
[Download RAW message or body]

In article <bb31gc$278t$1@sf1.isc.org>,
Mark Eades <mark.eades@tskgroupplc.com> wrote:
>I am in the process of writing a small script to analise access to our
>internet site - logs.
>I can extract the data well enough but a list of visiting IP addresses is
>not wholly useful.
>I would like, much like the NT TRACERT command to be able to use a command
>to translae the IP address to a text representation. ( I don't need the
>route )
>To date I have not found a practical way of doing this !

The following commands will all do a reverse lookup:

host <address>
dig -x <address> ptr
nslookup <address>

-- 
Barry Margolin, barry.margolin@level3.com
Level(3), Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic