Solved

DNS question

Posted on 2013-05-10
3
190 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

OfficeMate Freezes on login or does not load after login credentials are input.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
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…

914 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now