]> git.openstreetmap.org Git - dns.git/blobdiff - bin/mkgeo
Update location of GeoIP database
[dns.git] / 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");