Write templates with right NS entries.

This commit is contained in:
Philippe Pittoli 2024-11-25 05:13:31 +01:00
parent 08347ee540
commit 0d8f4b4620

View File

@ -23,15 +23,15 @@ zone << DSZ::SOA.new "#{domain}.", # name
3600.to_u32, # TTL 3600.to_u32, # TTL
"ns0.#{domain}.", # Master Name Server for the zone "ns0.#{domain}.", # Master Name Server for the zone
"dnsmaster.#{domain}.", # admin email address "dnsmaster.#{domain}.", # admin email address
2023070100.to_u64, # serial 2024112500.to_u64, # serial
3600.to_u64, # refresh 3600.to_u64, # refresh
600.to_u64, # retry 600.to_u64, # retry
2419200.to_u64, # expire 2419200.to_u64, # expire
600.to_u64 # minimum TTL 600.to_u64 # minimum TTL
# NS: name ttl target # NS: name ttl target
zone << DSZ::NS.new "#{domain}.", 3600.to_u32, "ns0.arn-fai.net." zone << DSZ::NS.new "#{domain}.", 3600.to_u32, "ns0.karchnu.fr."
zone << DSZ::NS.new "#{domain}.", 3600.to_u32, "alsace.tetaneutral.net." zone << DSZ::NS.new "#{domain}.", 3600.to_u32, "ns1.karchnu.fr."
# All default values are read-only (by default). # All default values are read-only (by default).
# Still, some dedicated messages can change some of these values, but the default behavior is to protect my SANITY. # Still, some dedicated messages can change some of these values, but the default behavior is to protect my SANITY.