1GeoIP.conf(5)                                                    GeoIP.conf(5)
2
3
4

NAME

6       GeoIP.conf - Configuration file for geoipupdate
7

SYNOPSIS

9       This  file allows you to configure your geoipupdate program to download
10       GeoIP2, GeoLite2, and GeoIP Legacy databases.
11

DESCRIPTION

13       The file consists of one setting per line.  Lines starting with  #  are
14       comments and will not be processed.  All setting keywords are case sen‐
15       sitive.
16
17   Required settings:
18       AccountID
19              Your MaxMind account ID.  This was formerly known as UserId.
20
21       LicenseKey
22              Your case-sensitive MaxMind license key.
23
24       EditionIDs
25              List of space-separated database edition IDs.  Edition  IDs  may
26              consist   of   letters,   digits,   and  dashes.   For  example,
27              GeoIP2-City  106  would  download  the  GeoIP2   City   database
28              (GeoIP2-City)  and  the  GeoIP  Legacy  Country  database (106).
29              Note: this was formerly called ProductIds.
30
31   Optional settings:
32       DatabaseDirectory
33              The directory to store the database files.  If not set, the  de‐
34              fault  is  /usr/share/GeoIP.  This can be overridden at run time
35              by the -d command line argument.
36
37       Host   The host name of the server to use.  The default is updates.max‐
38              mind.com.
39
40       Proxy  The proxy host name or IP address.  You may optionally specify a
41              port number, e.g., 127.0.0.1:8888.  If no port number is  speci‐
42              fied, 1080 will be used.
43
44       ProxyUserPassword
45              The proxy user name and password, separated by a colon.  For in‐
46              stance, username:password.
47
48       PreserveFileTimes
49              Whether to preserve modification times of files downloaded  from
50              the server.  This option is either 0 or 1.  The default is 0.
51
52       LockFile
53              The lock file to use.  This ensures only one geoipupdate process
54              can run at a time.  Note: Once created, this lockfile is not re‐
55              moved from the filesystem.  The default is .geoipupdate.lock un‐
56              der the DatabaseDirectory.
57
58       RetryFor
59              The amount of time to retry for when errors during HTTP transac‐
60              tions are encountered.  It can be specified as a (possibly frac‐
61              tional) decimal number followed by a unit  suffix.   Valid  time
62              units  are  ns,  us  (or µs), ms, s, m, h.  The default is 5m (5
63              minutes).
64
65   Deprecated settings:
66       The following are deprecated and will be ignored if present:
67
68       Protocol
69
70       SkipPeerVerification
71
72       SkipHostnameVerification
73

SEE ALSO

75       geoipupdate(1)
76
77
78
79                                                                 GeoIP.conf(5)
Impressum