for ip in `cat addresses`; do host $ip; done