X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/6f6ac0de26339fe17da0594649ce1b1dfe2c7f80..68e068818d559ef35bdf2a138a93596337828ef9:/cookbooks/geodns/templates/default/geo.erb diff --git a/cookbooks/geodns/templates/default/geo.erb b/cookbooks/geodns/templates/default/geo.erb index 8c576aeff..719f11a9d 100644 --- a/cookbooks/geodns/templates/default/geo.erb +++ b/cookbooks/geodns/templates/default/geo.erb @@ -1,15 +1,15 @@ $TTL 86400 -@ SOA a.ns.openstreetmap.org. hostmaster.openstreetmap.org. ( - 1 ; serial - 86400 ; refresh - 172800 ; retry - 604800 ; expire - 3600 ; ncache +@ SOA <%= @servers.first %>. hostmaster.openstreetmap.org. ( + 3 ; serial + 86400 ; refresh + 7200 ; retry + 604800 ; expire + 3600 ; ncache ) -@ 86400 NS a.ns.openstreetmap.org. -@ 86400 NS b.ns.openstreetmap.org. -@ 86400 NS c.ns.openstreetmap.org. +<% @servers.each do |server| -%> +@ 86400 NS <%= server %>. +<% end -%> -tile 3600 DYNC geoip!tile +nominatim 300 DYNC geoip!nominatim