Unable to TCP connect by hostname

@bko,

Running a slightly modified version of this, my domain names resolve every time.

–jon