From: Tom Hughes Date: Mon, 17 Feb 2020 19:12:59 +0000 (+0000) Subject: Fix CNAMES returned by geodns X-Git-Url: https://git.openstreetmap.org./dns.git/commitdiff_plain/abb152df07840ebde87b36015026c9c0d87991ba Fix CNAMES returned by geodns --- diff --git a/bin/mkgeo b/bin/mkgeo index e02fbee..881f268 100755 --- a/bin/mkgeo +++ b/bin/mkgeo @@ -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"); } }