dig 2ch.net | grep 2ch | tail -n 1 > get.dat
cat get.dat
2ch.net. 8 IN A 206.223.154.230

このget.datを読み込んでリスト化ってどうやりますか?