From: Tom Hughes Date: Tue, 6 Mar 2012 12:13:51 +0000 (+0000) Subject: Make sure the unknown country is only redirected to one server X-Git-Url: https://git.openstreetmap.org./dns.git/commitdiff_plain/2679dbf8647782112ec84953ab554df9bb2316cd?hp=729e8e6f23f56a569ad443e7df9ac3124d153d5f Make sure the unknown country is only redirected to one server --- diff --git a/bin/mkgeo b/bin/mkgeo index aa8babb..bb29fe6 100755 --- a/bin/mkgeo +++ b/bin/mkgeo @@ -88,7 +88,7 @@ foreach my $country (values %countries) $kmlwriter->endTag("Placemark"); } -foreach my $server (keys %$servers) +foreach my $server (grep { $servers->{$_}->{default} }keys %$servers) { $zonefile->print("Cxx.${zone}:${server}.${zone}:600\n"); } diff --git a/src/tile.openstreetmap b/src/tile.openstreetmap index 87d8fa1..a03e75f 100644 --- a/src/tile.openstreetmap +++ b/src/tile.openstreetmap @@ -2,6 +2,7 @@ london: lat: 51.507222 lon: -0.1275 + default: true preferred: continents: - EU