]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/geodns/templates/default/geo.erb
nominatim: make pool size and workers configurable
[chef.git] / cookbooks / geodns / templates / default / geo.erb
index 942f4697be1863b1e957c4ad970948b02ede6738..719f11a9d8e56cb33609ea2229fecf7642248a1f 100644 (file)
@@ -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