Net::IPFromZip- find all ip addresses associated with a specific zip code


  use Net::IPFromZip qw/reverse/;

  #assuming that the .csv file is either in the local directory or in /usr/local/share/GeoIP
  my @ips = @{ reverse("59715") }; 

  #if not
  my @ips = @{ reverse("/path/to/file.csv", "59715") }; 


This module uses the GeoIP2 database in the form of CSV files. It takes in a zip code, being that a zip code is more accurate than an area code or city name, and that a zip code is the most accurate input the free GeoIP2 databases take.


reverse - the main function

Being that the only meat of this module is the main reverse function, only one function is exported

SEE ALSO - repository containing compressed csv databases, the originaly file, and various misc scripts - repository with all the perl module source


John Kennedy, <>


Copyright (C) 2015 by John Kennedy

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.18.2 or, at your option, any later version of Perl 5 you may have available.