Scroll to navigation

GeoIP.conf(5) File Formats Manual GeoIP.conf(5)

NAME

GeoIP.conf - Configuration file for geoipupdate

SYNOPSIS

This file allows you to configure your geoipupdate program to download purchased GeoIP2 and GeoIP Legacy databases.

DESCRIPTION

The file consists of one setting per line. Lines starting with # are comments and will not be processed. All setting keywords are case sensitive.

The default configuration file is found at: /etc/GeoIP.conf

Required settings:

EditionIDs
List of database edition IDs. Edition IDs may consist of letters, digits, and dashes (e.g., "GeoIP2-City", "106"). Note: this was formerly called ProductIds.

Optional settings:

AccountID
Your MaxMind account ID. This was formerly known as UserId. This is required when downloading a paid database.
LicenseKey
Your case-sensitive MaxMind license key. This is required when downloading a paid database.
DatabaseDirectory
The directory to store the database files. The default is /var/lib/GeoIP
Host
The host name of the server to use. The default is updates.maxmind.com.
Proxy
The proxy host name or IP address. You may optionally specify a port number, e.g., 127.0.0.1:8888. If no port number is specified, 1080 will be used.
ProxyUserPassword
The proxy user name and password, separated by a colon. For instance, username:password.
PreserveFileTimes
Whether to preserve modification times of files downloaded from the server. This option is either 0 or 1. The default is 0.
LockFile
The lock file to use. This ensures only one geoipupdate process can run at a time. Note: Once created, this lockfile is not removed from the filesystem. The default is .geoipupdate.lock under the DatabaseDirectory.

FILES

/etc/GeoIP.conf
Default geoipupdate configuration file.

SEE ALSO

geoipupdate(1)
2 Aug 2018 4th Berkeley Distribution