From abb152df07840ebde87b36015026c9c0d87991ba Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 17 Feb 2020 19:12:59 +0000 Subject: [PATCH] Fix CNAMES returned by geodns --- bin/mkgeo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"); } } -- 2.39.5