for i in $(cat ip_address)
do
name=`nslookup $i |awk '/name/ {print $4}' | sed 's/.$//'`
pipe=`echo "|"`
echo $i $pipe $name
done