diff options
author | Indrajit Raychaudhuri <irc@indrajit.com> | 2024-12-13 07:41:24 +0530 |
---|---|---|
committer | Indrajit Raychaudhuri <irc@indrajit.com> | 2025-02-17 13:51:03 -0600 |
commit | aa44f17768570f9beb205ffd9ce7f17d601ed115 (patch) | |
tree | 855b25f7fe6a1c67a3ed0cc7faa66a29d6047f7d /src/conf_mode | |
parent | d1bb249b96cc03a2bd223326cefe2bc4a0dbad4a (diff) | |
download | vyos-1x-aa44f17768570f9beb205ffd9ce7f17d601ed115.tar.gz vyos-1x-aa44f17768570f9beb205ffd9ce7f17d601ed115.zip |
dhcp: T6948: Keep DHCP server leases in sync with hostd records
Keep DHCP server leases in sync with vyos-hostd records
via helper script invoked with `ExecStartPost` directive
in kea-dhcp4-server.service.
The helper script updates VyOS hostd records from
DHCP server leases. This ensures that hostd records
with the DHCP server leases are kept in sync with
VyOS hostd records right after DHCP server is started.
This is similar to the capability exposed via kea hook
`libdhcp_run_script.so` which is invoked internally
by kea when a single lease changes state.
Since the kea hook is currently implemented for DHCPv4
only, this helper script is implemented for DHCPv4
only as well.
Diffstat (limited to 'src/conf_mode')
0 files changed, 0 insertions, 0 deletions