Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

DNS command

Posted on 2014-01-28
4
Medium Priority
?
386 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 2000 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

Ready for your healthcare security check-up?

In the past few years, healthcare organizations have become a prime target for advanced attacks. Does your organization have what it needs to defend itself? Schedule your healthcare security check-up today and download our free Healthcare Security Resource Kit today!

Question has a verified solution.

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

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…
High user turnover can cause old/redundant user data to consume valuable space. UserResourceCleanup was developed to address this by automatically deleting user folders when the user account is deleted.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

885 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