[Kea-users] Memfile location, how to dump leases?

Dan Oachs doachs at gac.edu
Wed Sep 3 16:14:53 UTC 2025


Not sure if this is exactly what you are looking for, but my system has
a kea-leases4.csv and kea-leases6.csv file located in /var/lib/kea/

--Dan


On Wed, Sep 3, 2025 at 11:12 AM <jim at wrightthisway.com> wrote:

> I've had a new install running for several days here, and needed to
> check the leases for a subnet.  But when I use the kea-admin tool to
> dump this, I get an error:
>
> [root at 100671020-2 var]# kea-admin lease-dump memfile
> ERROR/kea-admin: lease-dump is not supported for memfile
>
> Googling didn't turn up any exact matches for that error, so I thought
> I'd try to find the actual leases file, but searching found several web
> pages listing a location for this but all different, and none were found
> on my system.  I couldn't find any way to dump the active running config
> for Kea to see what it thinks it's supposed to be using, below is what I
> have in my config:
>
>      "lease-database": {
>          // Memfile is the simplest and easiest backend to use. It's an
> in-memory
>          // C++ database that stores its state in CSV file.
>          "type": "memfile",
>          "lfc-interval": 3600
> --
> 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 at lists.isc.org
> <https://lists.isc.org/mailman/listinfo/kea-users.Kea-users@lists.isc.org>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20250903/d24121b2/attachment-0001.htm>


More information about the Kea-users mailing list