If the DNS servers support it I would suggest you use Net::DNS::Updates to do dynamic updates.
/J\
In reply to Re: DNS Script by gellyfish in thread DNS Script by mallen