I blogged here about adding SQL support to dhcpd. I’ve fixed a couple of issues – mainly memory leaks. I have no idea how I missed these before (sigh). The good news is that the server ran for sufficiently long for the process to get to many gigabytes in size, and nothing crashed!

You can find a new patch, against dhcpd 4.2.0-P1 (but should work against dhcpd 4.2.1-RC1) here.

See the original post here for build instructions and documentation.

2 responses to “Adding SQL support to dhcpd, part 3”

  1. Hello 🙂

    I test your last patch against the 4.2.1 and it seems ok.

    When i put dbi options into a subnet group it’s not working but outside (in global zone) it’s ok. Is it normal ?

    1. Yes. The dbi options are global, not per subnet group. Allowing per subnet queries, or having a ‘%’ string for the subnet group etc. would be a fine addition to my patch.

Leave a Reply to Alex BlighCancel reply

Discover more from Alex Bligh's blog

Subscribe now to keep reading and get access to the full archive.

Continue reading