Hi Per,

It appears not yet: https://gitlab.isc.org/isc-projects/kea/-/issues/3286

You can configure a percentage which was implemented in #225:
https://gitlab.isc.org/isc-projects/kea/-/issues/225  Documentation is
found here: 
https://kea.readthedocs.io/en/kea-2.4.1/arm/dhcp4-srv.html#ddns-for-dhcpv4
where it says:

"The parameter ddns-ttl-percent, when specified, causes the TTL to be
calculated as a simple percentage of the lease's lifetime, using the
parameter's value as the percentage. It is specified as a decimal
percent (e.g. .25, .75, 1.00) and may be specified at the global,
shared-network, and subnet levels. By default it is unspecified."

There isn't an example, but it would be specified like this:
`"ddns-ttl-percent": .75`  for example.

Thank you,
Darren Ankney

On Thu, Sep 26, 2024 at 8:01 AM Per Weisteen via Kea-users
<kea-users@lists.isc.org> wrote:
>
> Hi
>
> Was this feature of setting DNS TTL to a specific value ever impemented?
> Can't seem to find any mention in the docs - I've discovered a setting called 
> ddns-ttl-percent but can't find any description on how to use it.
>
> ./PerW
>
> > -----Original Message-----
> > From: Kea-users <kea-users-boun...@lists.isc.org> On Behalf Of Weisteen Per
> > Sent: torsdag 23. mars 2023 10:29
> > To: kea-users@lists.isc.org
> > Subject: Re: [Kea-users] Lease time and DNS TTL (OPEN)
> >
> > That feature would be most welcome 😊.
> >
> > ./PerW
> >
> >
> > Sensitivity: Internal
> >
> > > -----Original Message-----
> > > From: Kea-users <kea-users-boun...@lists.isc.org> On Behalf Of Darren
> > > Ankney
> > > Sent: onsdag 22. mars 2023 10:52
> > > To: kea-users@lists.isc.org
> > > Subject: Re: [Kea-users] Lease time and DNS TTL (OPEN)
> > >
> > > Not yet but there is an issue open for such a configuration option:
> > > https://gitlab.isc.org/isc-projects/kea/-/issues/225
> > >
> > > On Wed, Mar 22, 2023 at 3:43 AM Weisteen Per <per.weist...@telenor.no>
> > > wrote:
> > > >
> > > > Hi
> > > >
> > > > I'm using DDNS for updating both forward and reverse zones.
> > > > According to
> > > the docs the TTL value is calculated based on RFC 4702, which suggests
> > > that the TTL value be 1/3 of the lease's lifetime, with a minimum
> > > value of 10 minutes.
> > > >
> > > > The clients (IP-cameras) involved will normally have long leases
> > > > like one day
> > > or even one week, but due to reasons which I'm not going to delve
> > > into, clients may occasionally be assigned another address in another 
> > > IP-range.
> > > When this occurs the old DNS record may still be cached with a rather
> > > long TTL which makes accessing the client for reconfiguration purposes
> > > problematic.
> > > >
> > > > Is it possible to override the DNS TTL value within KEA?
> > > >
> > > > ./PerW
> > > >
> > > >
> > > > Sensitivity: Internal
> > > > --
> > > > ISC funds the development of this software with paid support
> > > subscriptions. Contact us at https://www.isc.org/contact/ for more
> > > information.
> > > >
> > > > To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
> > > >
> > > > Kea-users mailing list
> > > > Kea-users@lists.isc.org
> > > > https://lists.isc.org/mailman/listinfo/kea-users
> > > --
> > > ISC funds the development of this software with paid support 
> > > subscriptions.
> > > Contact us at https://www.isc.org/contact/ for more information.
> > >
> > > To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
> > >
> > > Kea-users mailing list
> > > Kea-users@lists.isc.org
> > > https://lists.isc.org/mailman/listinfo/kea-users
> > --
> > ISC funds the development of this software with paid support subscriptions.
> > Contact us at https://www.isc.org/contact/ for more information.
> >
> > To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
> >
> > Kea-users mailing list
> > Kea-users@lists.isc.org
> > https://lists.isc.org/mailman/listinfo/kea-users
>
> Sensitivity: Internal
> --
> ISC funds the development of this software with paid support subscriptions. 
> Contact us at https://www.isc.org/contact/ for more information.
>
> To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
>
> Kea-users mailing list
> Kea-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-users
-- 
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to