[Pdns-users] How to use GeoIP2 database with PowerDNS

Chris Jones cpjones44 at gmail.com
Sat May 26 10:14:15 UTC 2018

Hi there,

I have successfully setup a pdns instance using the geoip backend and a
copy of the legacy GeoIP database (from
https://dev.maxmind.com/geoip/legacy/install/country/). Throughout the
MaxMind website, I read that this database is end of life in favor for
GeoIP2 (available at https://dev.maxmind.com/geoip/geoip2/geolite2/).

The GeoIP legacy database is in the .DAT format, and the GeoIP2 database is
in a MMDB format. Reading the pdns documentation, it is confusing whether
MMDB is nativity supported or if I have to do something to the database
file to make it work.

My pdns.conf file contains the following parameters when using the GeoIP
legacy database:


That works fine. But when I change the *geoip-database-files* parameter to
use the MMDB file, it does not work (geo requests are timing out - standard
records work fine though).


Has anyone got an example or suggestions on how I can use the GeoIP2
databases with the pdns-geoip backend?

System: CentOS 7 + pdns 4.1.3

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20180526/9d8accaf/attachment.html>

More information about the Pdns-users mailing list