1GeoIP.conf(5) GeoIP.conf(5)
2
3
4
6 GeoIP.conf - Configuration file for geoipupdate
7
9 This file allows you to configure your geoipupdate program to download
10 GeoIP2 and GeoLite2 databases.
11
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 would download the GeoIP2 City database
28 (GeoIP2-City). Note: this was formerly called ProductIds.
29
30 Optional settings:
31 DatabaseDirectory
32 The directory to store the database files. If not set, the de‐
33 fault is /usr/share/GeoIP. This can be overridden at run time
34 by the -d command line argument.
35
36 Host The host name of the server to use. The default is updates.max‐
37 mind.com.
38
39 Proxy The proxy host name or IP address. You may optionally specify a
40 port number, e.g., 127.0.0.1:8888. If no port number is speci‐
41 fied, 1080 will be used.
42
43 ProxyUserPassword
44 The proxy user name and password, separated by a colon. For in‐
45 stance, username:password.
46
47 PreserveFileTimes
48 Whether to preserve modification times of files downloaded from
49 the server. This option is either 0 or 1. The default is 0.
50
51 LockFile
52 The lock file to use. This ensures only one geoipupdate process
53 can run at a time. Note: Once created, this lockfile is not re‐
54 moved from the filesystem. The default is .geoipupdate.lock un‐
55 der the DatabaseDirectory.
56
57 RetryFor
58 The amount of time to retry for when errors during HTTP transac‐
59 tions are encountered. It can be specified as a (possibly frac‐
60 tional) decimal number followed by a unit suffix. Valid time
61 units are ns, us (or µs), ms, s, m, h. The default is 5m (5
62 minutes).
63
64 Deprecated settings:
65 The following are deprecated and will be ignored if present:
66
67 Protocol
68
69 SkipPeerVerification
70
71 SkipHostnameVerification
72
74 geoipupdate(1)
75
76
77
78 GeoIP.conf(5)