feat: cache warming for configured domains #78
Reference in New Issue
Block a user
Delete Branch "feat/cache-warming"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
[cache] warmconfig field: list domains to keep hot in cacheDnsCache::ttl_remaining()andneeds_warm()methods for threshold checksCloses #34 (item 4)
Test plan
make allpasses (200 tests, clippy, fmt, audit)needs_warmreturns true for missing domainsneeds_warmreturns false for freshly cached A + AAAAneeds_warmreturns true when only one record type is cachedttl_remainingreturns correct values for cached entriesttl_remainingreturns None for missing entries🤖 Generated with Claude Code