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.