IPv6 support (fate #316261)
only take first line of 'host' output