X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7f52e8a926f7fa2a86b7c5d0f102ffa1d6d69956..2f1208a2f1796191ac32543b9b949d1c607dcd15:/cookbooks/geodns/templates/default/geo.erb diff --git a/cookbooks/geodns/templates/default/geo.erb b/cookbooks/geodns/templates/default/geo.erb index 1299bb729..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 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