X-Git-Url: https://git.openstreetmap.org./dns.git/blobdiff_plain/65215120765779c2a38ebe24f5443b84ad4fbc3d..d69d9798d0ab3027a066c25598c9a06e851d7b5c:/bin/mkgeo diff --git a/bin/mkgeo b/bin/mkgeo index e02fbee..9cfb6c1 100755 --- a/bin/mkgeo +++ b/bin/mkgeo @@ -205,7 +205,7 @@ my @json; # Open output files my $zonefile = IO::File->new("> include/${zone}.js") || die "$!"; -my $jsonfile = IO::File->new("> json/${zone}.json") || die "$!"; +my $jsonfile = IO::File->new("> json/${zone}.openstreetmap.org.json") || die "$!"; # Output headers $zonefile->print("var \U${zone}\E_RECORDS = [\n"); @@ -348,7 +348,7 @@ if (defined($gdnsname)) my $number = sprintf("%02d", $index + 1); my $bandwidth = $server->{bandwidth}; - $gdnsweightedfile->print(" ${name}-${number} = [ ${name}-${number}.${zone}., ${bandwidth} ]\n"); + $gdnsweightedfile->print(" ${name}-${number} = [ ${name}-${number}.${zone}.openstreetmap.org., ${bandwidth} ]\n"); } } @@ -358,7 +358,7 @@ if (defined($gdnsname)) } else { - $gdnsresourcefile->print(" ${name} => ${name}.${zone}.\n"); + $gdnsresourcefile->print(" ${name} => ${name}.${zone}.openstreetmap.org.\n"); } }