mallen has asked for the wisdom of the Perl Monks concerning the following question:

I would like to know if someone could help on a script that I need to create. I need to create a script to add some DNS entries, but my problem is that we have some NT 4.0 and some 2000 and XP machines. I can add the dns entries through the registry, but nt 4.0 and 2000 have different ways they load this. So if someone can get me started on how to do a if statement.

Replies are listed 'Best First'.
Re: DNS Script
by gellyfish (Monsignor) on Apr 07, 2005 at 12:55 UTC

    If the DNS servers support it I would suggest you use Net::DNS::Updates to do dynamic updates.

    /J\

    A reply falls below the community's threshold of quality. You may see it by logging in.