#!/bin/sh
name=`echo $QUERY_STRING | sed -e 's/name=//g' -e 's/+/ /g'`
echo "Content-type: text/html"; echo
echo "
host" "$name" " - Poor man's web host page"
echo 'back
'
echo "Poor man's web host page - by Victor Zhang "
echo ''
echo "Usage example: enter an IP address or host name
"
host $name 2>&1 | col -bx
echo '
back'