Mr_Person has asked for the wisdom of the Perl Monks concerning the following question:
Is there a way with Perl to change the DNS settings on Windows (98 and 2000)? I need to change the secondary name server address on quite a few PC's because we're moving the nameserver to a different subnet. Most of them can be updated through DHCP, but for various reasons there are about 50 that don't use DHCP. I can have them run a Perl script on bootup through login scripts and was wondering if there was some way (Windows API?) to change that setting automatically instead of going around to each PC and changing it myself.
Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Change Windows DNS Settings
by tachyon (Chancellor) on Mar 05, 2003 at 00:29 UTC | |
|
Re: Change Windows DNS Settings
by Rex(Wrecks) (Curate) on Mar 05, 2003 at 00:49 UTC | |
|
Re: Change Windows DNS Settings
by meetraz (Hermit) on Mar 05, 2003 at 21:36 UTC | |
|
Re: Change Windows DNS Settings
by Mr_Person (Hermit) on Mar 05, 2003 at 22:47 UTC |