• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 388
  • Last Modified:

DNS command

What is DNS command to resolve name using a different DNS server than the one your machine is set to? Thanks
0
Thomas N
Asked:
Thomas N
  • 3
1 Solution
 
Ned RamsayNetwork Operations ManagerCommented:
Do you want it permanent or temporary?

nslookup does temporary DNS for testing.

e.g.

NSLOOKUP

SERVER DNS1.TEST.COM
0
 
Ned RamsayNetwork Operations ManagerCommented:
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
 
Thomas NSystems Analyst - Windows System AdministratorAuthor Commented:
temporary for testing purposes
0
 
Ned RamsayNetwork Operations ManagerCommented:
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

SMB Security Just Got a Layer Stronger

WatchGuard acquires Percipient Networks to extend protection to the DNS layer, further increasing the value of Total Security Suite.  Learn more about what this means for you and how you can improve your security with WatchGuard today!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now