DHCP IP Reservation

The ability to reserve an IP that has already been leased to a device by the server would be quite useful for devices that do not have the ability to set a static IP address.

3 Likes

Currently, all leases of the Pi-hole DHCP server are allocated forever. This should be exactly what you are looking for.

In the upcoming release (stay tuned!) we set the default lease time to 24 hours for increased flexibility. However, you can go to the Settings page and set the lease time to 0 which will set all leases to infinity, again.

2 Likes

Ah okay. Thanks for your response.

Make a /etc/dnsmasq.d/mystuff.conf

dhcp-host=MAC,ipyouwanthere

I did that :slight_smile: