This module comes with a database of countries where various IP addresses have been assigned.

WWW: https://metacpan.org/pod/IP::Country
