]> git.openstreetmap.org Git - dns.git/commitdiff
Update location of GeoIP database
authorTom Hughes <tom@compton.nu>
Wed, 1 Jan 2020 16:45:59 +0000 (16:45 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 1 Jan 2020 16:45:59 +0000 (16:45 +0000)
bin/mkgeo

index 0df8c32bd8a34a10875c7c9c42a94e88ede42ae1..ccf11b0249eb04bc34490f4c99a7c9f5c457eb3a 100755 (executable)
--- a/bin/mkgeo
+++ b/bin/mkgeo
@@ -294,7 +294,7 @@ if (defined($gdnsname))
     my $continent = "";
 
     $gdnsmapfile->print("${gdnsname} => {\n");
-    $gdnsmapfile->print("  geoip2_db => /var/lib/GeoIP/GeoLite2-Country.mmdb\n");
+    $gdnsmapfile->print("  geoip2_db => /usr/share/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");