This is some Python code to map names to IP addresses. But not using DNS--no!
Instead, the four octets of an IPv4 address are mapped to short words. Thus, the IP address 22.214.171.124 is named "act,act,act,act". There's code here to map from IP address to name, and then back.