update the DNS periodically for each host