Solved

DNS command

Posted on 2014-01-28
4
380 Views
Last Modified: 2014-01-28
What is DNS command to resolve name using a different DNS server than the one your machine is set to? 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
4 Comments
 
LVL 7

Expert Comment

by:Ned Ramsay
ID: 39816381
Do you want it permanent or temporary?

nslookup does temporary DNS for testing.

e.g.

NSLOOKUP

SERVER DNS1.TEST.COM
0
 
LVL 7

Expert Comment

by:Ned Ramsay
ID: 39816398
Otherwise:
Start
Control Panel
Network and Sharing Center
Change Adapter Settings
Right Click Adapter > Properties
Select "Internet Protocol Version 4"
Click Properties
Under "Use the following DNS Server Addresses" change the IP to the one you want to use.
Click OK
Click OK
0
 

Author Comment

by:Thomas N
ID: 39816427
temporary for testing purposes
0
 
LVL 7

Accepted Solution

by:
Ned Ramsay earned 500 total points
ID: 39816444
Yeah so temporarily as I posted above:

start
run
CMD
nslookup
server DNS1.testing.com
(it should say default server DNS1.testing.com or whatever you set here)

--- now just type the place you want to lookup e.g. google.com and press enter.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. 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

Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
Group policies can be applied selectively to specific devices with the help of groups. Utilising this, it is possible to phase-in group policies, over a period of time, by randomly adding non-members user or computers at a set interval, to a group f…
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 walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

707 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