Write basic zone templates: fix default values.

This commit is contained in:
Philippe Pittoli 2023-06-28 01:28:05 +02:00
parent 9acfb206a2
commit 0e5090dae4

View File

@ -21,14 +21,15 @@ zone = DSZ.new domain
zone << DSZ::SOA.new "#{domain}.", # name
3600.to_u32, # TTL
"ns0.arn-fai.net.", # Master Name Server for the zone
"dnsmaster.arn-fai.net.", # admin email address
"ns0.#{domain}.", # Master Name Server for the zone
"dnsmaster.#{domain}.", # admin email address
2023070100.to_u64, # serial
3600.to_u64, # refresh
600.to_u64, # retry
2419200.to_u64, # expire
600.to_u64 # minimum TTL
# NS: name ttl target
zone << DSZ::NS.new "#{domain}.", 3600.to_u32, "ns0.arn-fai.net."
zone << DSZ::NS.new "#{domain}.", 3600.to_u32, "alsace.tetaneutral.net."