Que no te digan que la línea de comandos no sirve
grep 23/Nov/2007 /var/log/httpd/lateral-access_log |\ grep html | cut -d" " -f1 | sort |uniq |\ while read IP; do host $IP; done
grep 23/Nov/2007 /var/log/httpd/lateral-access_log |\ grep html | cut -d" " -f1 | sort |uniq |\ while read IP; do host $IP; done