Discussion Locked

DNS and default gateway settings

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Our ISP is being bought out by another company and is changing thier DNS server IP addresses. I need to change this on about 70 PC's Is there anyway to change this within a script. It needs to work with both Win95 and Win2000. If it takes two scripts that is ok. Also I need to change the default gateway to another router we are adding. Any help will be appreciated.

7 replies

by gmscne

One possibility would be to make the change on a PC then note which configuration file was modified, then have this file (or a copy) copied to other similar PCs to the correct location.

by raffi_

This just might be an excellent opportunity for you to get your network on DHCP. A great deal easier to manage the next time your ISP decides to make changes that could cost you many hours otherwise.

You might find some way to do this trough a Registry export/import on the WIN9x boxes but I'm not sure about the Win2K ones. They seem to store the DNS info with the interface KEY and that key is unique and seralized. I don't know what the sequencing is.

Regards
Raffi_

by gmscne

Oh, ok, then you're not using DUN, you didn't say. If your users are connecting through the LAN, then you should be using a proxy server. That makes it easy to designate a DNS server and default gateway. They shouldn't be directly connecting to the Internet anyway because of the security risk.

This discussion is closed to new replies.