From: Tom Hughes Date: Sun, 21 Dec 2014 11:16:50 +0000 (+0000) Subject: Reduce TTL on tile server A records X-Git-Url: https://git.openstreetmap.org./dns.git/commitdiff_plain/f5b34d07a761ca69226c80803aea2805c645adcc?ds=inline;hp=f93a40e2502d48de0db14b849615eaa19e01783e 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. --- 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"); } } }