<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">sob., 26 wrz 2020, 11:29 użytkownik Francis Dupont <<a href="mailto:fdupont@isc.org">fdupont@isc.org</a>> napisał:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Marcin Romanowski writes:<br>
> In my small environment I have all hosts in reserved table. If there is no<br>
> host it wouldn't get address.<br>
> Hosts from reservation get lease fo 24h an this lesae is stored in memfile<br>
> for this time. Is it possible to turn off storing leases in kea?<br>
<br>
=> essentially the DHCP protocol is about assigning leases to clients so<br>
Kea is just doing its job. If the lease file is really useless I suggest<br>
to set the persist flag of the lease-database configuration to false:<br>
this will make the lease database only in memory. Reference 8.2.2.1<br>
Memfile - Basic Storage for Leases in the ARM (or 9.2.2.1 if you use<br>
DHCPv6, the ARM is the Kea Administrator Reference Manual at<br>
<a href="https://kea.readthedocs.io/en/latest/" rel="noreferrer noreferrer" target="_blank">https://kea.readthedocs.io/en/latest/</a> and the persist flag is the first<br>
documented parameter).<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">I was thinking about it. Please tell me, is the memfile erased when "config-set" is executed from api? If yes this will be enough for me </div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Regards<br>
<br>
Francis Dupont <<a href="mailto:fdupont@isc.org" target="_blank" rel="noreferrer">fdupont@isc.org</a>><br>
</blockquote></div></div></div>