X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/6f6ac0de26339fe17da0594649ce1b1dfe2c7f80..5e01e28d3970940f3be03d7bfa514373175caad8:/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