Q&A: How can I clean up old dhcp leases

Question:

How can I clean up old dhcp leases

Answer:

Normally this is not necessary, but if you have lots of old leases in /var/lib/dhcp/dhcpd.leases you can clean up them manually. The file is structured from old to new. So you can simply stop the service and delete the old content until the point in time you still want to have it

Mastodon