Using Windows 7. Is this possible?

link|improve this question
feedback

2 Answers

up vote 3 down vote accepted

netsh.exe

netsh interface ip set dns name="Local Area Connection" source=static addr=none

netsh interface ip add dns name="Local Area Connection" addr=8.8.4.4 index=1
netsh interface ip add dns name="Local Area Connection" addr=8.8.8.8 index=2

netsh interface ip set dns name="Local Area Connection" source=dhcp
link|improve this answer
feedback

There is a ton of information on managing DNS servers with Powershell, here is a great article from the scripting guys:

If your wanting to manage your own Local DNS settings on your workstation, you can use powershell to connect to WMI, and use the DNS WMI classes.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.