X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ee35b7b0d9e451966e2928a90ff1cf5ead7b81ad..7e75c0595594b2b5ddac50991f6cd0f7e61633ad:/cookbooks/geodns/templates/default/geo.erb diff --git a/cookbooks/geodns/templates/default/geo.erb b/cookbooks/geodns/templates/default/geo.erb index c95e173f2..719f11a9d 100644 --- a/cookbooks/geodns/templates/default/geo.erb +++ b/cookbooks/geodns/templates/default/geo.erb @@ -1,19 +1,15 @@ $TTL 86400 -@ SOA saphira.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 balerion.openstreetmap.org. -@ 86400 NS chrysophylax.openstreetmap.org. -@ 86400 NS katie.openstreetmap.org. -@ 86400 NS saphira.openstreetmap.org. -@ 86400 NS stormfly-04.openstreetmap.org. -@ 86400 NS ridgeback.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