question: configuration changes

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

question: configuration changes

ahiya
hi Allis it possible to change the config on ISC DHCP without restarting the
service?thanks



--
Sent from: http://isc-dhcp-users.2343191.n4.nabble.com/
_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: question: configuration changes

Troy Ayers
Yes.  But the config changes won't take effect until the service is restarted.

dhcpd -t  to test syntax before you restart the service.

-Troy



________________________________________
From: dhcp-users <[hidden email]> on behalf of ahiya <[hidden email]>
Sent: Thursday, November 5, 2020 2:34 AM
To: [hidden email]
Subject: question: configuration changes

hi Allis it possible to change the config on ISC DHCP without restarting the
service?thanks



--
Sent from: http://isc-dhcp-users.2343191.n4.nabble.com/
_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: question: configuration changes

Simon Hobson
In reply to this post by ahiya
ahiya <[hidden email]> wrote:

> hi Allis it possible to change the config on ISC DHCP without restarting the
> service?

No
They made the decision many years (decades !) ago that it was not worth the cost to do so. Except in fairly unusual circumstances, service startup is very quick and so there should be no impact on service by doing a stop-start.
To do a live reconfig would mean either writing, testing, **and maintaining** code to dynamically update in-memory tables; or would simply replicate what is done now when stopping and starting the service. As already mentioned, you can test a new config using the -t flag before restarting the service.

At the time when this decision was made, networks were generally a lot simpler, and there wasn't much demand for dynamic reconfig - certainly no-one wanting to sponsor it's development. "Networks were simpler back then" also explains some of the design decisions that might not seem to make sense these days !

I have no experience with it myself, but AIUI KEA is intended to be a more modern replacement for dhcpd. It may be worth investigating if that might fit your needs better.

Simon

_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users