I'm setting up a server for a small office, that is accessable from the internet. Since our ISP has a transparent proxy, most dynamic dns services fail, other than dyndns (who isn't our provider) so we use a script to set it manually- it connects to dyndns, fetches a web page with the info, strips the ip address out, and sets the ip address for a single domain via a web request to our actual dns provider. This whole process is run once an hour by crontab
If i wanted to extend this to more than one hostname, would it be a better idea to have one script running per hostname (ie, single script for obtaining the ip address, and one per hostname) or to have a single monolithic task for the whole thing?