DCHP with database database

Here's my first question: P.

I am developing small projects. I want to change dhcp IP / MAC server rules without rebooting the server (on dynamic infrastructure).

I think the best solution is to use a dhcp server with a database backend to change the SQL information (using a simple JDBC client).

But I want to know some open source proposal or how to explain it, how to implement it.

Many thanks

0


a source to share


3 answers


Usually on Unix long daemons listen for the HUP signal. On receiving this signal, they re-read their configuration files. This allows daemons to have no downtime but get updated configuration settings.



+1


a source


The folks at ISC (the authors of BIND and the DHCP server) are working on KEA , a new DHCP server implementation that has SQL support among other nice features. The source code has supported SQLite and MySQL for many years, and PostgreSQL support has been added recently.



There is no correct release and very little activity on their dev / users . Hopefully this changes as the code matures, releases are released, distributions start packaging it, and it weighs on users.

0


a source


joint

On Unix.

No, restart the DHCP server, no machine :). Unfortunately.

Because when you change dhcp.conf you need to restart dhcp (dhcpd)

-1


a source







All Articles