mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-26 16:16:31 -06:00
Specify min and max values for TTL of a DNS record
Fixes: https://pagure.io/freeipa/issue/8358 Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
parent
5f239aebca
commit
373f8cdce7
@ -3021,6 +3021,8 @@ class dnsrecord(LDAPObject):
|
||||
cli_name='ttl',
|
||||
label=_('Time to live'),
|
||||
doc=_('Time to live'),
|
||||
minvalue=0,
|
||||
maxvalue=2147483647, # see RFC 2181,
|
||||
),
|
||||
StrEnum('dnsclass?',
|
||||
# Deprecated
|
||||
|
Loading…
Reference in New Issue
Block a user