diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2011-02-18 13:53:27 +0100 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2011-02-18 15:36:07 -0500 |
commit | 18be4ebec317ad3e4d3b5684f506cadba8cdb837 (patch) | |
tree | 2b8e0db0ac3b5ca8d1eef7899b20682bf71a965f /ipalib | |
parent | 496ab3f738d55e9356142048dcfef2caa46c121f (diff) | |
download | freeipa-18be4ebec317ad3e4d3b5684f506cadba8cdb837.tar.gz freeipa-18be4ebec317ad3e4d3b5684f506cadba8cdb837.tar.xz freeipa-18be4ebec317ad3e4d3b5684f506cadba8cdb837.zip |
Better doc for idnssoaminimum
Diffstat (limited to 'ipalib')
-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?', |