I would like to interactively look at the leases from my DHCP server just for auditing purposes. There is a post here:
https://forums.freebsd.org/threads/how-to-get-a-list-of-connected-clients-from-my-dhcp-server.33240/
However, it doesn't appear to be answered or answer my question.
I see the lease file here:
/var/db/dhcpd.leases
/var/db/dhcpd/dhcpd.leases
However, both contain just a header indicating the server-duid.
Is there an option that would prevent the server from writing the leases? I was also using this as a reference:
https://kb.isc.org/docs/isc-dhcp-44-manual-pages-dhcpdconf
https://kb.isc.org/docs/isc-dhcp-44-manual-pages-dhcp-options
It basically seems to say that a long as the file exists, the DHCP server will update it. But in my case, I don't see any updates to it.
https://forums.freebsd.org/threads/how-to-get-a-list-of-connected-clients-from-my-dhcp-server.33240/
However, it doesn't appear to be answered or answer my question.
I see the lease file here:
/var/db/dhcpd.leases
/var/db/dhcpd/dhcpd.leases
However, both contain just a header indicating the server-duid.
Is there an option that would prevent the server from writing the leases? I was also using this as a reference:
https://kb.isc.org/docs/isc-dhcp-44-manual-pages-dhcpdconf
https://kb.isc.org/docs/isc-dhcp-44-manual-pages-dhcp-options
It basically seems to say that a long as the file exists, the DHCP server will update it. But in my case, I don't see any updates to it.