Status:
For various reasons you may want to change the DNS of a connection inside your computer via command (from a DOS window). In my case I wanted to change the DNS of a connection in my Windows Vista and I realized it was easier for
command Problem:
I want to change the DNS in Windows via Command.
Solution:
The solution is to use netsh. Netsh
comes in two ways: 1) interactive mode and 2) directly. The first one is entering a new shell (netsh run without arguments) and second commands are sent direct. 1) Locate the exact name of the connection to which we want to change the DNS: netsh interface ip show config
2) Change the DNS with the netsh command: netsh interface ip set dns "Nokia GSM Phone USB Modem # 5 (NPCIA)" static 8.8.8.8 Screenshots
:
More information: http://support.microsoft.com/kb/242468
http://es.kioskea.net/faq/535-cambiar-la-direccion-ip-desde- the-line-of-command-with-netsh
0 comments:
Post a Comment