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
thiamwahAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

andyalderCommented:
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.
0
thiamwahAuthor Commented:
filter.exe? what is that?
0
andyalderCommented:
Sorry should have said "a filter program that you have to write with VB or VC++"
0
Tim HolmanCommented:
nslookup | <wanted results> ?
0
schmedCommented:
try using ls -a or ls -d to only pull the type of records you want to view.

for example:
nslookup> ls -d allhost.com
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Networking

From novice to tech pro — start learning today.