Send dhcp-users mailing list submissions to
        dhcp-users@lists.isc.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/dhcp-users
or, via email, send a message with subject or body 'help' to
        dhcp-users-requ...@lists.isc.org

You can reach the person managing the list at
        dhcp-users-ow...@lists.isc.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dhcp-users digest..."


Today's Topics:

   1. Dhcp.leases manually edit (JT ISC)


----------------------------------------------------------------------

Message: 1
Date: Fri, 11 Mar 2022 23:48:54 -0600
From: JT ISC <jtis...@gmail.com>
To: dhcp-users@lists.isc.org
Subject: Dhcp.leases manually edit
Message-ID:
        <CAPxL6Ag_jMRAU2iH9jXXsCrVtiF71=HTOFtRnMJt0D=d2s-...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20220311/93efe6de/attachment-0001.htm>

------------------------------

Subject: Digest Footer

_______________________________________________
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
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


------------------------------

End of dhcp-users Digest, Vol 161, Issue 1
******************************************

Reply via email to