
09-15-2008
|
|
|
|
Join Date: May 2008
Posts: 15
Thanks: 0
Thanked 1 Time in 1 Post
|
|
|
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.
|