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