Solved

DNS command

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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
This article describes my battle tested process for setting up delegation. I use this process anywhere that I need to setup delegation. In the article I will show how it applies to Active Directory
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
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…

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