(getanswer_r): Test host name for maximal length at several places.