Web lists-archives.com

how to keep geoip database uptodate




How do I keep geoip database up to date on Debian stable? Currently, I
am not able to get information on some IP addresses. For example,

 % geoiplookup 45.229.2.42
GeoIP Country Edition: IP Address not found

I tried geoipupdate, but it is looking for a license.

 % geoipupdate -v
geoipupdate 2.3.1
Can't open license file /etc/GeoIP.conf
 % ls -al /etc/GeoIP.conf
ls: cannot access '/etc/GeoIP.conf': No such file or directory

% dpkg -l \*geoip\* | grep ^ii
ii  geoip-bin       1.6.9-4      amd64        IP lookup command line
tools that use the GeoIP library
ii  geoip-database  20170512-1   all          IP lookup command line
tools that use the GeoIP library (country database)
ii  geoipupdate     2.3.1-1      amd64        MaxMind GeoIP/GeoIP2
database updates
ii  libgeoip1:amd64 1.6.9-4      amd64        non-DNS IP-to-country
resolver library

% cat /etc/debian_version
9.4


thanks
raju

-- 
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog