On 11/25/15 12:37, Stuart Henderson wrote:
On 2015-11-25, Alessandro Baggi <[email protected]> wrote:
Thanks for all clarification about NSD/Unbound usage.
I've another question about dns dynamic update for dhcpd.
With named, installing isc-dhcp using dynamic update for dns from dhcpd.
It is possibile with unbound/NSD?
No, neither Unbound nor NSD support this.
well... with a little scripting, almost anything is possible. :)
Start with this...
http://www.thismetalsky.org/projects/dhcp_dns
rework it to produce NSD zone files and reload NSD, and you are set.
Yes, I've done it, and I use it currently. No, won't share it, as there
are several things I don't like about the script at this point (runs as
root, doesn't create the reverse lookup zone), but it was not hard. And
other than this script, no packages needed, everything else was base
(i.e., upgrades are trivial)
I've got a wild dream of reworking it to presentable standards and maybe
even getting it added to base OpenBSD (though, since the OpenBSD dhcp
server is probably irreconcilably different from the ISC server it was
once based on, maybe it should just be hacked to produce the body of a
zone file directly?).
Nick.