Thursday, February 26, 2026

Re: How do you keep dhcpd and nsd/unbound in sync?

On Thu, 26 Feb 2026 09:37:03 +0000
Martin <iio7@protonmail.com> wrote:

> Currently we run Unbound without NSD for our local net where
> Unbound has a local file with IPs and PTRs for the LAN. We
> also use dhcpd to assign fixed IPs based on the MAC.
>
> So far all is done manually. Is there some way to automatically
> add hosts and hostnames to Unbound when a lease is granted from
> dhcpd or some other way?

We have a database where we store among other things,name, mac address
and assigned ip of the host, and a script that generates zones and
dhcpd config.

No comments:

Post a Comment