In OPNsense, the combination of Kea DHCP and Unbound has been chosen. By default, Unbound does not appear to support dynamic DNS updates directly. The goal is to configure automatic record updates.
With Kea DHCP, it's possible to trigger an external script using hooks (e.g., lease4_commit event). The idea is as follows:
- receive new leases
- update the Unbound configuration
- restart Unbound with the new records
Perhaps someone can suggest a better solution?