Link to home
Start Free TrialLog in
Avatar of thiamwah
thiamwah

asked on

format nslookup output in NT4?

hi,

I am using nslookup and so far, it always returns me:

----------------------------------
E:\>nslookup -q=A www.somesite.com 
Server:  ns1.tm.net.my  <--- x
Address:  202.188.0.132    <---- x

<wanted results>
-----------------------------------

I only want the results part and NOT the name server and address (x)..
what parameters must I give that will
make nslookup NOT show the name server and address? It seems that ALL query options will show the name server info.

Thanks
Avatar of Member_2_231077
Member_2_231077

pretty sure there is no flag/parameter for this, you'll have to pipe the output of nslookup through a filter.exe file to pick up just what you want.
Avatar of thiamwah

ASKER

filter.exe? what is that?
Sorry should have said "a filter program that you have to write with VB or VC++"
Avatar of Tim Holman
nslookup | <wanted results> ?
ASKER CERTIFIED SOLUTION
Avatar of schmed
schmed

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial