[#2819] Add ddns-ttl, ddsn-ttl-min, and ddns-ttl-max to kea-dhcpX
Rather than adding a global max value to D2, this MR is takes the approach of adding three new parameters:
ddns-ttl, ddns-ttl-min, ddns-ttl-max
to global,shared-network, and subnet to kea-dhcp4 and kea-dhcp6
The logic for calculating the DNS ttl is:
-
If ddns-ttl is specified use it unconditionally.
-
If ddns-ttl-percent is specified use it, otherwise use 1/3 as called for by RFC 4702. Calculate the candidate TTL based on the determined percentage.
-
If ddns-ttl-min is specified use it otherwise use a minimum of 600 seconds per RFC 4702. If the calculated TTL is less than the minimum return the minimum.
-
If ddns-ttl-max is specified limit the calculated TTL to that value.
-
support in kea-dhcp4 -
support in kea-dhcp6 -
doc update
CB Support will be done in a separate ticket (assuming this is accepted), possibly #3663
Closes #2819