From f5b34d07a761ca69226c80803aea2805c645adcc Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 21 Dec 2014 11:16:50 +0000 Subject: [PATCH] Reduce TTL on tile server A records 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/mkgeo b/bin/mkgeo index 5a0b07a..4bd4db2 100755 --- 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"); } } } -- 2.43.2