hostname: Degenerate cases.

Better replies when name resolution fails.