General discussion

Locked

DNS and default gateway settings

By Keith G ·
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.

This conversation is currently closed to new comments.

7 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

DNS and default gateway settings

by gmscne In reply to DNS and default gateway s ...

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.

Collapse -

DNS and default gateway settings

by Keith G In reply to DNS and default gateway s ...

I think settings are stored in the registry not a config file.

Collapse -

DNS and default gateway settings

by Raffi_ In reply to DNS and default gateway s ...

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_

Collapse -

DNS and default gateway settings

by Keith G In reply to DNS and default gateway s ...

Poster rated this answer

Collapse -

DNS and default gateway settings

by gmscne In reply to DNS and default gateway s ...

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.

Collapse -

DNS and default gateway settings

by Keith G In reply to DNS and default gateway s ...

Not using a proxy server. I am using a router with NAT for translation.

Collapse -

DNS and default gateway settings

by Keith G In reply to DNS and default gateway s ...

This question was closed by the author

Back to Networks Forum
7 total posts (Page 1 of 1)  

Related Discussions

Related Forums