File: README.DBIP2

package info (click to toggle)
ipv6calc 4.1.0-0.3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,676 kB
  • sloc: ansic: 101,567; sh: 6,796; perl: 3,867; xml: 1,475; makefile: 909
file content (41 lines) | stat: -rw-r--r-- 1,378 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
GENERAL
-------
db-ip.com distributes since some time also binary loation file in MaxMindDB format

see also README.MaxMindDB


ENABLING SUPPORT
----------------
Install following RPMs (usually supported by distribution)
        maxminddb maxminddb-devel

If you want to use the db-ip.com databases with ipv6calc, you will
have only to enable the support using configure:
     --enable-maxminddb

  In case, dynamic load of library should be enabled (conditional MaxMindDB support), add
     --with-maxmindd-dynamic

  In case db-ip.com MaxMindDB support should be explicitly *disabled*, use
    --disable-dbip2

DATA UPDATE
-----------
For regular (monthls) updates of the free available databases a download tool is also provided:
	DBIP-update.sh


Commercial databases need a subscription and must be downloaded, decompressed and softlinked 
	$ cd /var/local/share/DBIP
	$ wget http://download.db-ip.com/key/<key>.mmdb -O dbip-location-isp-$(date +'%Y-%m').mmdb.gz
        $ gunzip dbip-location-isp-$(date +'%Y-%m').mmdb.gz
	$ ln -sf dbip-location-isp-$(date +'%Y-%m').mmdb.gz dbip-location-isp.mmdb

the tool can help you here:
	$ DBIP-update.sh -U  https://download.db-ip.com/key/<key>.mmdb

example (<key> is NOT working):
	$ DBIP-update.sh -U  https://download.db-ip.com/key/0123456789abcdef0123456789abcdef01234567.mmdb

$Id: f4c90c34014b897b6b43282136f5a28b9c207ede $