[Dshield] nslookup on win2k and scripting

Jason Brooks jbrooks at longwood.edu
Thu Oct 2 17:39:52 GMT 2003


Gearry,
         We have actually done something similar in Perl on Cygwin.  If you 
are interested, let me know and I'll see if I can sanitize things a bit and 
send you the script.
Jason Brooks
At 01:21 PM 10/2/2003 -0400, you wrote:
>I am looking for a way, on win2k, to take a file with space seperated IP
>addresses, resolve all of them, and output the domain name and IP
>addresses to a file.  I have cygwin available if it would be easier to do
>it there.  I had a suggestion to script hosts under linux but I can not
>see that hosts is available under cygwin.  This is a temporary solution
>until I get my day to day operations moved over to my linux box, but I am
>willing to put some work into doing this under windows or cygwin just for
>the benefit of learning.  Pointers to docs or HOWTOs for the relevent
>tools are appreciated.
>
>Gearry
>
>_______________________________________________
>list mailing list
>list at dshield.org
>To change your subscription options (or unsubscribe), see: 
>http://www.dshield.org/mailman/listinfo/list

Jason Brooks
Information Security Technician
IITS
116 - B Coyner
Longwood University
201 High Street
Farmville, VA 23901
(434) 395-2796




More information about the list mailing list