?
Solved

How to run the DNS query from the server?

Posted on 2016-10-02
5
Medium Priority
?
102 Views
Last Modified: 2016-10-14
How to run the DNS query from the server?
0
Comment
Question by:satheesh kumar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 28

Expert Comment

by:Dr. Klahn
ID: 41825544
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
 
LVL 19

Accepted Solution

by:
Mal Osborne earned 2000 total points
ID: 41825729
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
 

Author Closing Comment

by:satheesh kumar
ID: 41844258
Thanks
0
 
LVL 8

Expert Comment

by:Senior IT System Engineer
ID: 41844574
Ok, does this means if I want to get the NSlookup result from server1 the command:

Nslookup targethost1 server1

Is that correct ?
0
 

Author Comment

by:satheesh kumar
ID: 41844652
May be, in my situation I want to do the nslookup to know about the which is resolving from DNS.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A safe way to clean winsxs folder from your windows server 2008 R2 editions
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
Suggested Courses
Course of the Month13 days, 9 hours left to enroll

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question