Adding IPv6 to certificate SAN

Hi folks,

Is there a way I can add an IPv6 to the SANs for a certificate? I tried ::1 and 0:0:0:0:0:0:0:1, and both came out as DNS records. IPv4 addresses work fine.

Thanks,
Sam