Operating System - Microsoft
1752644 Members
5614 Online
108788 Solutions
New Discussion

Nslookup multiple hostnames in file.txt

 
TamNP
Respected Contributor

Nslookup multiple hostnames in file.txt

Hello,

 

I have a file.txt contains lots of hostnames, and I have to resolved their ip address.

How can I do this with nslookup?

1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: Nslookup multiple hostnames in file.txt

Write a script to invoke nslookup for each line in your input file.