Like this but need .co.nz?

This worked a treat but it doesn’t seem to work for our .co.nz domains (Which is an issue since I live here with most of my clients).

./check_domain -d stuff.co.nz
UNKNOWN – Unable to figure out expiration date for stuff.co.nz Domain.

Any ideas on how I can update this script to work for .co.nz domains?

I tried a bunch of .co.nz’s and none of them seem to work.

Cheers