]> git.openstreetmap.org Git - dns.git/blobdiff - bin/mkgeo
mkgeo: add country name comment to tinydns zone to improve readability
[dns.git] / bin / mkgeo
index fd0459307a2b2c7a13ee2b9533d522e9180fece1..fca95b24a9f309da0e8303958263c04f377419de 100755 (executable)
--- a/bin/mkgeo
+++ b/bin/mkgeo
@@ -155,6 +155,7 @@ foreach my $country (values %countries)
         $clon = $clon + 360;
     }
 
+    $zonefile->print("# $country->{name}\n");
     $zonefile->print("C\L$country->{code}\E.${zone}:$server->{name}.${zone}:600\n");
 
     push @json, {