How can i configure ISC DHCP server to infinite lease time for all clients?
man dhcpd:
Lease Lengths DHCP leases can be assigned almost any length from zero seconds to infinity. What lease length makes sense for any given subnet, or for any given installation, will vary depending on the kinds of hosts being served.
but dhcpd completely not works with the zero lease-time value:
ddns-update-style none;
#option domain-name "dobisel.com";
option domain-name-servers 8.8.8.8,8.8.4.4;
default-lease-time 0; <---- here
max-lease-time 0; <----- here
authoritative;
log-facility local7;
subnet 192.168.11.0 netmask 255.255.255.240 {
range 192.168.11.2 192.168.11.14;
option routers 192.168.11.1;
option broadcast-address 192.168.11.15;
option subnet-mask 255.255.255.240;
}