From: Tom Hughes Date: Mon, 11 Nov 2024 08:05:40 +0000 (+0000) Subject: Use portable location for GeoIP database X-Git-Url: https://git.openstreetmap.org./dns.git/commitdiff_plain/f001db6d56d84f3b90badb78287280b4eff5eb1b Use portable location for GeoIP database --- diff --git a/bin/mkgeo b/bin/mkgeo index 2c0453b..3a69d89 100755 --- a/bin/mkgeo +++ b/bin/mkgeo @@ -355,7 +355,7 @@ if (defined($gdnsname)) my $continent = ""; $gdnsmapfile->print("${gdnsname} => {\n"); - $gdnsmapfile->print(" geoip2_db => /usr/share/GeoIP/GeoLite2-Country.mmdb\n"); + $gdnsmapfile->print(" geoip2_db => /etc/gdnsd/geoip/GeoLite2-Country.mmdb\n"); $gdnsmapfile->print(" datacenters => [" . join(",", sort(keys(%$clusters))) . "]\n"); $gdnsmapfile->print(" map => {\n"); $gdnsmapfile->print(" default => [" . join(",", sort(map { $_->{name} } grep { $_->{default} } values(%$clusters))) . "]\n");