Nslookup Guru's Needed!

Associate
Joined
6 May 2011
Posts
470
Hey guys,

I need some help with an nslookup command. It will be ran as a single line (hopefully)

I need the equivalent of this, but as a single command:

nslookup
> server 127.0.0.1
> ls -d test.com.

The reason it needs to be a single line is, the program that runs it will only run 1 command, wait on the result being returned, then quit - so I cant run it as above ^

And ideas how I can do this? So far I have: nslookup test.com. 127.0.0.1 - I just don't know where to put the "ls -d" bit!

Thanks in advance!
 
Back
Top Bottom