ike: Use proper hostname(s) when name resolution failed