Solved

DNS question

Posted on 2013-05-10
3
192 Views
Last Modified: 2013-06-18
Is there a command (ex:nslookup)that I can use to test a machine to resolve using a different DNS server than the ones that are in its DNS settings? I want to isolate the problem to the DNS server without having to change the whole DHCP scope options for the whole subnet. Thanks
0
Comment
Question by:Thomas N
3 Comments
 
LVL 20

Expert Comment

by:n2fc
ID: 39156594
Yes, you can use nslookup to do this!

Before looking up the target, use the "server <name>" subcommand to specify the desired dns server!

See: http://support.microsoft.com/kb/200525
for more info on this...
0
 
LVL 9

Assisted Solution

by:gt2847c
gt2847c earned 250 total points
ID: 39156661
To look up a one host on the command line:
nslookup host dnsserver

To set the dns server for start of an interactive session (uses dnsserver until you specify server or exit the interactive session)
nslookup - dnsserver

or as n2fc stated above
nslookup <enter>
>server dnsserver

Do keep in mind one item though, nslookup does not exactly simulate how a system will resolve a name.  It only verifies how the DNS server will resolve it.  If you have a hosts file on a system, that will take precedence over the name server.  Additionally, if you specify search domains in either the DHCP scope or in the interface configuration, unqualified names may resolve differently than what nslookup will respond with.
0
 
LVL 1

Accepted Solution

by:
zasupport earned 250 total points
ID: 39158283
if you have permissions to modify the Adapter Settings, you can override the DNS servers from DHCP by selecting "Use the following DNS server addresses" and entering the Server IPs manually.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

820 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