Page MenuHomeVyOS Platform

DHCP records out of sync with vyos hostd state after system restart
Closed, ResolvedPublicBUG

Description

The host states maintained by VyOS hostd service (/run/vyos-hostsd/vyos-hostsd.state) and releated host states (/etc/hosts, pdns-recursor) do not survive a system reboot by design.

For leases maintained by DHCP server, this leads to the situation where VyOS hostd service ending up out of sync with DHCP server leases (that are still active) because the leases are not communicated back to hostd till the next DHCP renew operation. This inconsistency can potentially last till the TTL of the lease.

One way to mitigate this is to have a startup script to perform the sync explicitly. However, a more integrated solution would be preferred.

Details

Version
1.5
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

Viacheslav triaged this task as Normal priority.Dec 13 2024, 1:50 PM