fixes #3067 - domain stripped from hostname for Solaris