On 06/22/17 05:47, Andreas Kusalananda Kähäri wrote: > Is there an existing solution for feeding the IP-addresses of the leases > that dhcpd hands out into the unbound configuration and reload it, or > would I have to write a script that parses the lease declarations in > /var/db/dhcpd.leases?
I recently created a script to do this. It works for me but has not been tested anywhere else. Here's a link to a .tgz containing the code, config file, and rc.d script: http://practical.systems/dynbound/dynbound.tgz There's probably lots of room for improvement. Feedback is welcome. One of these days I will finish it up, write a man page, and submit a port.

