It was a surprising amount of work to figure out all the different formats an IP address can be shown in and convert a given IP into all those formats.