NSLookup Utility

Barry Margolin barry.margolin at level3.com
Fri Aug 29 21:18:12 UTC 2003


In article <bioep1$1h86$1 at sf1.isc.org>,
Jim Easley <jeasley18 at comcast.net> wrote:
>Hey,
>
>I have an off the wall question.  Is there a utility out there that
>will allow me to import a .csv of IP addresses, then perform an
>nslookup of each one?
>
>I have been assigned the task of doing this for 10,770 IP addresses
>for a client.

It seems like a trivial shell script:

tr , '\n' file.csv | while read address
do
  nslookup $address
done

-- 
Barry Margolin, barry.margolin at 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.


More information about the bind-users mailing list