mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 17:14:46 +00:00
Cleanup local data cache when a DHCP endpoint expires, so that it is kept in sync with dynamic changes. This ensures that if an expired DHCP endpoint returns and is assigned the same IP address the local cache is correct and doesn't block the entry being dynamically re-added to Unbound. Also don't cache the blacklist entries, which aren't needed to manage the DHCP DNS entries. There can easily be 1M+ blacklist entries, so ignoring these improves startup speed and reduces memory footprint Fixes #4714