Reduce TTL on tile server A records
authorTom Hughes <tom@compton.nu>
Sun, 21 Dec 2014 11:16:50 +0000 (11:16 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 21 Dec 2014 11:16:50 +0000 (11:16 +0000)
This needs to match the TTL on the CNAME records that map countries
to tile servers so that we fail over correctly when part of a server
cluster fails but the reset stays up.

bin/mkgeo

index 5a0b07a11fccd95851e48e9fb02b362d4aa541e6..4bd4db2f8a9d3ea16c19409f56d45939a57ddfce 100755 (executable)
--- a/bin/mkgeo
+++ b/bin/mkgeo
@@ -405,11 +405,11 @@ sub output_server
     {
         if ($server->{status} eq "up")
         {
-            $zonefile->print("+${name}:$server->{ipv4}:3600\n");
+            $zonefile->print("+${name}:$server->{ipv4}:600\n");
 
             if ($server->{ipv6})
             {
-#                $zonefile->print("3${name}:$server->{ipv6}:3600\n");
+#                $zonefile->print("3${name}:$server->{ipv6}:600\n");
             }
         }
     }