X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/b45d043c38db19f7023d683f885def63a7f738de..9584cda7a747710c42f2d4b2bd876c4014f1ad6f:/cookbooks/geodns/templates/default/geo.erb diff --git a/cookbooks/geodns/templates/default/geo.erb b/cookbooks/geodns/templates/default/geo.erb index 7f33a3760..719f11a9d 100644 --- a/cookbooks/geodns/templates/default/geo.erb +++ b/cookbooks/geodns/templates/default/geo.erb @@ -1,18 +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. -@ 86400 NS d.ns.openstreetmap.org. -@ 86400 NS e.ns.openstreetmap.org. -@ 86400 NS f.ns.openstreetmap.org. +<% @servers.each do |server| -%> +@ 86400 NS <%= server %>. +<% end -%> -tile 600 DYNC geoip!tile +nominatim 300 DYNC geoip!nominatim