2004-05-28, 06:52 AM
# This will find your primary nameserver of record and query it for an A record
#
bash-prompt: ~] whois domain.com > /tmp/whois && awk '/Name/{print x};{x=$0}' /tmp/whois ; awk '/Name/{getline;print}' /tmp/whois | xargs host domain.com