In this chapter, we discussed the standard Python libraries for IP address manipulation. Two third-party dnspython libraries and geoip have been presented to interact with the DNS servers and get geolocation from an IP address. As we can see, when it comes to working with IP addresses, Python provides you with a series of modules that can be useful for checking IP addresses or converting values related to IP addresses and networks.
In the next chapter, we will introduce the IPv6 protocol and explore the best Python modules for working with IPv6 networking.