For upgrading the IPv4 and IPv6 location databases you need to download the following two files from http://software77.net/geo-ip/ :
- IpToCountry.csv – IPv4 database (choose “IPv4 CSV” either .gz or .zip)
- IpToCountry.6R.csv – IPv6 database (choose “IPv6 RANGE (gz)”)
These two files need then to be moved to /opt/BalanceNG.
The BalanceNG commands “ipdb” and “ipdb6” (with no arguments) will then load (or reload) the databases from this default location.
Please consider to donate something at their site, this data is incredible useful.