On Aug 18, 2008, at 10:13 PM, Fraser Tweedale wrote:

==================================
#!/bin/sh
while read LINE
do
        echo $LINE `dig +short -x $LINE`
done
===================================

You'll want to change line four to

 echo "$LINE " `dig +short -x $LINE`

for a cleaner output.

-j


--
Jeffrey Goldberg                        http://www.goldmark.org/jeff/

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to