X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/9c7e80e4852590badc3d24263ba05168638fc3f0..241fcb72fc59ac141ed78e05f56b6b3f291da88e:/cookbooks/geodns/templates/default/geo.erb diff --git a/cookbooks/geodns/templates/default/geo.erb b/cookbooks/geodns/templates/default/geo.erb index 942f4697b..719f11a9d 100644 --- a/cookbooks/geodns/templates/default/geo.erb +++ b/cookbooks/geodns/templates/default/geo.erb @@ -1,19 +1,15 @@ $TTL 86400 -@ SOA a.ns.openstreetmap.org. hostmaster.openstreetmap.org. ( - 2 ; serial +@ SOA <%= @servers.first %>. hostmaster.openstreetmap.org. ( + 3 ; serial 86400 ; refresh - 172800 ; retry + 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 600 DYNC geoip!nominatim +nominatim 300 DYNC geoip!nominatim