#!/bin/sh
host=$1
port=$2
shift
shift
ip=$(host "$host" | awk '$2 ~ /^A$/ { print $3; exit 0; }')
echo ./main $* $ip $port
./main $* $ip $port
