in reply to resolve IP address into domain name

Why bother using perl?
for ip in `cat addresses`; do host $ip; done