Operating System - Microsoft
1829079 Members
2432 Online
109986 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.