Hi

I have a log file, with entries that look like this:
Fri Nov 19 11:09:04 1999 DNS 192.168.1.3:1519--->111.222.333.444:53
www.omnicast.net

(all on one line)

I want to pull out the second IP address 111.222.333.444, do an nslookup
on it to get the host/domain, and output everything tino a file like this:

Fri Nov 19 11:09:04 1999 host.domain.com

Is there any easy way to do this? Thanks..

        Bryan


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to