From 0e5090dae4a91ae91bde100c6ef40a84395793e6 Mon Sep 17 00:00:00 2001 From: Philippe Pittoli Date: Wed, 28 Jun 2023 01:28:05 +0200 Subject: [PATCH] Write basic zone templates: fix default values. --- tools/write-template-zone-file.cr | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/write-template-zone-file.cr b/tools/write-template-zone-file.cr index a050e79..28950b0 100644 --- a/tools/write-template-zone-file.cr +++ b/tools/write-template-zone-file.cr @@ -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."