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