How to limit dhcpd.leases file size

perl-list perl-list at network1.net
Thu Mar 14 11:48:41 UTC 2019


Its neither limited nor unlimited. 

The daemon will append to the file with each new or updated lease. Once per hour it dumps the contents of memory back to the file thus truncating the file and recording every current lease (and usually expired entries such that it has a listing for each IP that is in use/has been used). This file is needed or leases will be forgotten about on server restart and duplicate IP assignments would happen. 

> From: "kawamura keiji" <kawamura.keiji at jp.panasonic.com>
> To: "Users of ISC DHCP" <dhcp-users at lists.isc.org>
> Sent: Thursday, March 14, 2019 4:15:51 AM
> Subject: How to limit dhcpd.leases file size

> Hi there,

> I’m running DHCP Server 4.3.3.

> Are there any ways to limit dhcpd.lease file size?

> Is the file size unlimited in life time of dhcpd daemon? , or limited to a
> certain size?

> Regards

> Keiji

> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20190314/230db768/attachment.html>


More information about the dhcp-users mailing list