Virus.Org  IT Security News and Information Portal. We offer the latest IT security news, updates, product reviews, books, and articles for all you IT security professionals out there. Enter and get the best IT security information on the Internet.

 

. Welcome to the Virus.Org Mailing List Archive  
.
.


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


Re: [Dshield] nslookup on win2k and scripting
.

  • To: General DShield Discussion List <[EMAIL PROTECTED]>
  • Subject: Re: [Dshield] nslookup on win2k and scripting
  • From: [EMAIL PROTECTED]
  • Date: Thu, 2 Oct 2003 14:15:49 -0500
  • In-reply-to: <[EMAIL PROTECTED]>
  • Old-x-envelope-to: [EMAIL PROTECTED]
  • Reply-to: General DShield Discussion List <[EMAIL PROTECTED]>
  • Sender: [EMAIL PROTECTED]
.
 
i did it like this.

nslookup < test.txt > test1.txt

test.txt looks like this

www.ibm.com
www.intel.com
www.bigfoot.com




                                                                                                                                                 
                      "Gearry Judkins"                                                                                                           
                      <[EMAIL PROTECTED]        To:       General DShield Discussion List <[EMAIL PROTECTED]>                       
                      .k12.me.us>                             cc:                                                                                
                      Sent by:                                Subject:  [Dshield] nslookup on win2k and scripting                                
                      [EMAIL PROTECTED]                                                                                                   
                                                                                                                                                 
                                                                                                                                                 
                      10/02/2003 12:21 PM                                                                                                        
                      Please respond to General                                                                                                  
                      DShield Discussion List                                                                                                    
                                                                                                                                                 




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
[EMAIL PROTECTED]
 To change your subscription options (or unsubscribe), see:
 http://www.dshield.org/mailman/listinfo/list



_______________________________________________
list mailing list
[EMAIL PROTECTED]
To change your subscription options (or unsubscribe), see: http://www.dshield.org/mailman/listinfo/list

 
.
.
 
Copyright (c) Virus.Org 1997-2006.
All Trademarks Acknowledged.
Please view our Terms and Conditions and our Privacy Policy.