I blogged here about adding SQL support to dhcpd. I’m now reasonably happy with the patch, but have made a couple of tiny updates. These concern the documentation, and a bug which prevented the (probably useless) “name:” field from working.
You can find a new patch, again against dhcp 4.2.0, here.
See the original post here for build instructions and documentation.