Olle E. Johansson writes:
It's hard to judge the max length of IPv6, since there are many notations. With IPv4 embedded IPv6 the text is expanded. With scoped addresses where the interface name is added, it grows again.
ipv6 is even bigger mesh than what i ever thought.
as i wrote, there is the canonical rfc. why to support all kind of custom formats?
to me it makes sense to store addresses only in canonical format to database in order to make sure that address comparison can be made uniquely.
-- juha