After the host's clock is corrected by NTP, the cache misbehaves. When the clock is set back, entries cached just before stay valid long after their TTL; when it jumps forward, entries cached shortly before are already gone on the next read. Hosts whose clock is never adjusted show no problem.
Fix Cache in cache.py so an entry lives exactly as long as its TTL.