A Windows Vista forum. Vista Banter

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.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Networking with Windows Vista
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Networking with Windows Vista Networking issues and questions with Windows Vista. (microsoft.public.windows.vista.networking_sharing)

using netsh to set LAN dns settings



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old September 15th 08, 11:13 AM posted to microsoft.public.windows.vista.networking_sharing
VistaVirgin
external usenet poster
 
Posts: 1
Default using netsh to set LAN dns settings


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

  #2 (permalink)  
Old September 15th 08, 04:31 PM posted to microsoft.public.windows.vista.networking_sharing
Robert L. \(MS-MVP\)[_1130_]
external usenet poster
 
Posts: 1
Default using netsh to set LAN dns settings

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


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:33 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2012 Vista Banter.
The comments are property of their posters.