Use DNS in tcp-test