Dhcp.leases manually edit

JT ISC <[email protected]> Fri, 11 Mar 2022 23:48:54 -0600
Newsgroups gmane.network.dhcp.isc.dhcp-server
Message-ID <CAPxL6Ag_jMRAU2iH9jXXsCrVtiF71=HTOFtRnMJt0D=D2s-DVQ@mail.gmail.com>
I have been working with ISC DHCP for a few years.  I have manually stopped
the dhcpd service, backed up the dhcpd.leases and dhcpd.leases~ files (just
to be on the safe side), and then manually edited the leases file and
removed a lease or two.  Followed by starting the dhcpd process again and
have not had any issues with dhcp server.

However, I have been wondering if you can stop dhcpd service and add in a
new lease the very end of the dhcpd.leases file using the correct format
for lease start and end times as well as the MAC address.  Then start the
dhcpd service again and the dhcpd server update the lease that you just
manually created with any new updated information.

Appreciate everyone’s time!

Thanks,
JT

-- 
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/dhcp-users