mkgeo: add country name comment to tinydns zone to improve readability
authorGrant Slater <git@firefishy.com>
Sat, 16 Mar 2013 12:10:49 +0000 (12:10 +0000)
committerGrant Slater <git@firefishy.com>
Sat, 16 Mar 2013 12:11:32 +0000 (12:11 +0000)
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, {