Operating System - Microsoft

Re: 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.