How to run the DNS query from the server?

How to run the DNS query from the server?
satheesh kumarAsked:
Who is Participating?
 
Mal OsborneConnect With a Mentor Alpha GeekCommented:
Not sure what you are trying to do here, but perhaps NSLOOKUP will help?  This is a command that performs DNS lookups and displays results at a command line, under Windows. It allows you to specify the target server.
0
 
Dr. KlahnPrincipal Software EngineerCommented:
Can you give us some more information about the context of the query?  Do you want to query from within IIS, from a DOS command box, from a C++ program ... or something else?  What kind of information is needed - a simple DNS resolution of a name, or a more complex request for, say, an MX record?
0
 
satheesh kumarAuthor Commented:
Thanks
0
 
Senior IT System EngineerIT ProfessionalCommented:
Ok, does this means if I want to get the NSlookup result from server1 the command:

Nslookup targethost1 server1

Is that correct ?
0
 
satheesh kumarAuthor Commented:
May be, in my situation I want to do the nslookup to know about the which is resolving from DNS.
0
All Courses

From novice to tech pro — start learning today.