Solved

DNS question

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

Expert Comment

by:n2fc
Comment Utility
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
Comment Utility
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
Comment Utility
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 book by J.Peter Bruzzese, Microsoft MVP

Are you using Office 365? Trying to set up email signatures but you’re struggling with transport rules and connectors? Let renowned Microsoft MVP J.Peter Bruzzese show you how in this exclusive e-book on Office 365 email signatures. Better yet, it’s free!

Join & Write a Comment

I've written instructions for one router type, but this principle may be useful for others of the same brand and even other brands of router. Problem: I had an issue especially with mobile devices that refused to use DNS information supplied via…
Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

763 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

12 Experts available now in Live!

Get 1:1 Help Now