Is ISC DHCP server will take dynamically changing value??

Alex Bligh alex at alex.org.uk
Mon Apr 23 10:49:24 UTC 2012



--On 23 April 2012 05:55:31 +0000 ameen.shajahan at wipro.com wrote:

> I would like to know if change the conf file for example lease time and
> lease range changes dynamically without stopping the dhcp server.

You can either reload the config file which involves restarting dhcpd,
or (to a limited extent) use the database backends (e.g. LDAP or my
sql patch).

>From the manpage:

> Whenever changes are made to the dhcpd.conf file, dhcpd must be
> restarted. To restart dhcpd, send a SIGTERM (signal 15) to the
> process ID contained in /var/run/dhcpd.pid, and then re-invoke dhcpd.
> Because the DHCP server database is not as light‐weight as a BOOTP
> database, dhcpd does not automatically restart itself when it sees a
> change to the dhcpd.conf file.
>
> Note: We get a lot of complaints about this. We realize that it would
> be nice if one could send a SIGHUP to the server and have it reload
> the database. This is not technically impossible, but it would require
> a great deal of work, our resources are extremely limited, and they can
> be better spent elsewhere. So please don't complain about this on the
> mailing list unless you're prepared to fund a project to implement this
> feature, or prepared to do it yourself.

-- 
Alex Bligh


More information about the dhcp-users mailing list