Solved

DNS question

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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

690 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