logo       

Re: How to get TEXT name for IP address on internet via command line.: msg#00635

network.dns.bind.user

Subject: Re: How to get TEXT name for IP address on internet via command line.

In article <bb31gc$278t$1@xxxxxxxxxxx>,
Mark Eades <mark.eades@xxxxxxxxxxxxxxx> 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@xxxxxxxxxx
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 Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise