![]() |
|
Welcome to Vista Banter. You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact support. |
|
|||||||
| Networking with Windows Vista Networking issues and questions with Windows Vista. (microsoft.public.windows.vista.networking_sharing) |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi, out there, I am an installer of wireless high speed systems and have to set IP and DNS addresses to configure these systems. Does anyone have a usable script to set DNS addresses using netsh. I am currently using netsh to set ip addresses but have yet to be successful setting the DNS addresses. My current script for IP addresses goes like this: netsh interface ip set address name="LAN" static xxx.xxx.xxx.xxx 255.255.255.xxx xxx.xxx.xxx.xxx 1 and it seems to work properly. Now I need to know how to set DNS addresses as well. Any help would be greatly appreciated. -- VistaVirgin Posted via http://www.vistaheads.com |
|
|||
|
You may try to use add instead of set. This search result may help
The example of using netsh to configure TCP/IP http://www.chicagotech.net/Networking/netshexample.htm -- Bob Lin, MS-MVP, MCSE & CNE Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com "VistaVirgin" wrote in message ... Hi, out there, I am an installer of wireless high speed systems and have to set IP and DNS addresses to configure these systems. Does anyone have a usable script to set DNS addresses using netsh. I am currently using netsh to set ip addresses but have yet to be successful setting the DNS addresses. My current script for IP addresses goes like this: netsh interface ip set address name="LAN" static xxx.xxx.xxx.xxx 255.255.255.xxx xxx.xxx.xxx.xxx 1 and it seems to work properly. Now I need to know how to set DNS addresses as well. Any help would be greatly appreciated. -- VistaVirgin Posted via http://www.vistaheads.com |