diff options
Diffstat (limited to 'ipalib/plugins/dns.py')
-rw-r--r-- | ipalib/plugins/dns.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ipalib/plugins/dns.py b/ipalib/plugins/dns.py index 0c7f1afb7..ed2f955c6 100644 --- a/ipalib/plugins/dns.py +++ b/ipalib/plugins/dns.py @@ -235,6 +235,7 @@ class dnszone(LDAPObject): cli_name='serial', label=_('SOA serial'), doc=_('SOA record serial number'), + minvalue=1, create_default=_create_zone_serial, autofill=True, ), @@ -242,6 +243,7 @@ class dnszone(LDAPObject): cli_name='refresh', label=_('SOA refresh'), doc=_('SOA record refresh time'), + minvalue=0, default=3600, autofill=True, ), @@ -249,6 +251,7 @@ class dnszone(LDAPObject): cli_name='retry', label=_('SOA retry'), doc=_('SOA record retry time'), + minvalue=0, default=900, autofill=True, ), @@ -257,13 +260,16 @@ class dnszone(LDAPObject): label=_('SOA expire'), doc=_('SOA record expire time'), default=1209600, + minvalue=0, autofill=True, ), Int('idnssoaminimum?', cli_name='minimum', label=_('SOA minimum'), - doc=_('SOA record minimum value'), + doc=_('How long should negative responses be cached'), default=3600, + minvalue=0, + maxvalue=10800, autofill=True, ), Int('dnsttl?', |