Aren't you using DCHP for your clients? If you do, my tip would be to set the DNS entries (global if you've got subnet's etc) in the DHCP manager instead of scriptning (also good for hardware that is DHCP compatible, printerservers etc etc)
_________________________
The tart is out there