?
Solved

DNS question

Posted on 2013-05-10
3
Medium Priority
?
195 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 1000 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 1000 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

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  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

Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
Suggested Courses
Course of the Month11 days, 20 hours left to enroll

752 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