Solved

DNS command

Posted on 2014-01-28
4
376 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
  • 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
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…

803 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