X-Git-Url: https://git.openstreetmap.org./dns.git/blobdiff_plain/c68cd12e2a357eaa83558fca73f2bd4a30e42e0d..737e782ae6f889765e6ce9d4257f01d12a3019a5:/bin/mkgeo diff --git a/bin/mkgeo b/bin/mkgeo index 9cfb6c1..ce0ff2f 100755 --- a/bin/mkgeo +++ b/bin/mkgeo @@ -273,12 +273,14 @@ foreach my $cluster (sort { $a->{name} cmp $b->{name} } values %$clusters) { my $name = $cluster->{name}; - output_server($zonefile, "${name}.${zone}", $cluster); - if (@{$cluster->{servers}} > 1) { output_server($zonefile, "${name}-%02d.${zone}", $cluster); } + else + { + output_server($zonefile, "${name}.${zone}", $cluster); + } } # Output the GeoJSON text