Add dnsTTL host attribute to override the zone default TTL for A and AAAA records...
[mirror/userdir-ldap.git] / ud-host
diff --git a/ud-host b/ud-host
index f6d6c56..0e98182 100755 (executable)
--- a/ud-host
+++ b/ud-host
@@ -58,7 +58,8 @@ AttrInfo = {"description": ["Machine Descr.", 1],
             "exportOptions": ["Export-Opts", 18],
             "ipHostNumber": ["IP Address", 19],
             "mXRecord": ["MXRecord", 20],
-            "sshdistAuthKeysHost": ["extra authkeys ip", 21],
+            "dnsTTL": ["dnsTTL", 21],
+            "sshdistAuthKeysHost": ["extra authkeys ip", 22],
             }
 
 AttrPrompt = {"description": ["Purpose of the machine"],
@@ -81,6 +82,7 @@ AttrPrompt = {"description": ["Purpose of the machine"],
               "exportOptions": ["additional export options"],
               "ipHostNumber": ["IP Addresses(es) of the machine"],
               "mXRecord": ["Mail Exchanger for this machine"],
+              "dnsTTL": ["dns TTL value"],
               "sshdistAuthKeysHost": ["additional hosts for sshdist's authkeys file"],
               };