The New Zealand stock exchange was knocked offline two days in a row due to a cyber-attack. NZX said it had first been hit by a distributed denial of service (DDoS) attack from abroad, on Tuesday.