summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/dns.py
diff options
context:
space:
mode:
authorPetr Spacek <pspacek@redhat.com>2014-06-11 13:24:48 +0200
committerPetr Viktorin <pviktori@redhat.com>2014-06-12 09:57:58 +0200
commit91d3d4d7b2abf6441f8be033323d3849bbb57217 (patch)
treec2af754559bfea40654b334e47792eda6b28badb /ipalib/plugins/dns.py
parent8f286d5c510c30f2319a8b0142cb68ee8e81f664 (diff)
downloadfreeipa-91d3d4d7b2abf6441f8be033323d3849bbb57217.tar.gz
freeipa-91d3d4d7b2abf6441f8be033323d3849bbb57217.tar.xz
freeipa-91d3d4d7b2abf6441f8be033323d3849bbb57217.zip
Fix --ttl description for DNS zones
TTL specified in idnsZone object class affects all records at zone apex, not only SOA record. Reviewed-By: Nathaniel McCallum <npmccallum@redhat.com>
Diffstat (limited to 'ipalib/plugins/dns.py')
-rw-r--r--ipalib/plugins/dns.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/plugins/dns.py b/ipalib/plugins/dns.py
index c3870f8a2..736162368 100644
--- a/ipalib/plugins/dns.py
+++ b/ipalib/plugins/dns.py
@@ -1764,8 +1764,8 @@ class dnszone(LDAPObject):
),
Int('dnsttl?',
cli_name='ttl',
- label=_('SOA time to live'),
- doc=_('SOA record time to live'),
+ label=_('Time to live'),
+ doc=_('Time to live for records at zone apex'),
minvalue=0,
maxvalue=2147483647, # see RFC 2181
),