GeoIP.conf(5)
π NAME π
okay bestie, this is GeoIP.conf(5) β the GeoIP.conf page from the File Formats Manual, and itβs literally the configuration file for geoipupdate. π«Ά
GeoIP.conf β Configuration file for geoipupdate
β¨ SYNOPSIS β¨
This file lets you configure your geoipupdate program to download GeoIP and GeoLite databases. slay π
π 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. π
πΈ Required settings: πΈ
AccountIDβ your MaxMind account ID. This was formerly known asUserId. This can be overridden at run time by either theGEOIPUPDATE_ACCOUNT_IDor theGEOIPUPDATE_ACCOUNT_ID_FILEenvironment variables.LicenseKeyβ your case-sensitive MaxMind license key. This can be overridden at run time by either theGEOIPUPDATE_LICENSE_KEYor theGEOIPUPDATE_LICENSE_KEY_FILEenvironment variables.EditionIDsβ a list of space-separated database edition IDs. Edition IDs may consist of letters, digits, and dashes. For example,GeoIP2-Citywould download the GeoIP City database (GeoIP2-City). This can be overridden at run time by theGEOIPUPDATE_EDITION_IDSenvironment variable. Note: this was formerly calledProductIds.
π¦ Optional settings: π¦
DatabaseDirectoryβ the directory to store the database files. If not set, the default is/var/lib/GeoIP. This can be overridden at run time by theGEOIPUPDATE_DB_DIRenvironment variable or the-dcommand line argument.Hostβ the host name of the server to use. The default ishttps://updates.maxmind.com. This can be overridden at run time by theGEOIPUPDATE_HOSTenvironment variable.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,1080will be used. This can be overridden at run time by theGEOIPUPDATE_PROXYenvironment variable.ProxyUserPasswordβ the proxy user name and password, separated by a colon. For instance,username:password. This can be overridden at run time by theGEOIPUPDATE_PROXY_USER_PASSWORDenvironment variable.PreserveFileTimesβ whether to preserve modification times of files downloaded from the server. This option is either0or1. The default is0. This can be overridden at run time by theGEOIPUPDATE_PRESERVE_FILE_TIMESenvironment variable.LockFileβ the lock file to use. This ensures only onegeoipupdateprocess can run at a time. Note: Once created, this lockfile is not removed from the filesystem. The default is.geoipupdate.lockunder theDatabaseDirectory. This can be overridden at run time by theGEOIPUPDATE_LOCK_FILEenvironment variable.RetryForβ the amount of time to retry for when errors during HTTP transactions are encountered. It can be specified as a (possibly fractional) decimal number followed by a unit suffix. Valid time units arens,us(orΒ΅s),ms,s,m,h. The default is5m(5 minutes). This can be overridden at run time by theGEOIPUPDATE_RETRY_FORenvironment variable.Parallelismβ the maximum number of parallel database downloads. The default is1, which means that databases will be downloaded sequentially. This can be overridden at run time by theGEOIPUPDATE_PARALLELISMenvironment variable or the--parallelismcommand line argument.
π Deprecated settings: π
The following are deprecated and will be ignored if present:
ProtocolSkipPeerVerificationSkipHostnameVerification
π SEE ALSO π
sign-off: this was GeoIP.conf(5) from the File Formats Manual β the footer didnβt give us a date, so no fake timestamp, periodt π
π
π¦ where this page comes from
- arch rolling: geoipupdate 8.0.0-1 Β· Apache-2.0 AND MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms