Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    KEA DHCP Leases file

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 2 Posters 3.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Y
      yegor
      last edited by yegor

      Hi folks,

      Does anyone know where pfSense keeps the DHCP leases file on disk, that's in the KEA format? The ISC one was stored in /var/dhcpd/var/db

      If there is no file, is there a programmatic method of fetching plaintext DHCP leases data from command line for parsing by an external utility.

      Thanks

      NollipfSenseN 1 Reply Last reply Reply Quote 0
      • NollipfSenseN
        NollipfSense @yegor
        last edited by NollipfSense

        @yegor If my memory is correct it's /var/lib/kea/dhcp4.leases...I am away from my system as well as had disabled Kea and went back to ISC.

        pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
        pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

        Y 1 Reply Last reply Reply Quote 1
        • Y
          yegor @NollipfSense
          last edited by

          @NollipfSense I think you're correct as per https://kea.readthedocs.io/en/kea-1.6.2/arm/dhcp4-srv.html

          Thanks!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.