On Wed, Jan 19, 2022 at 04:54:25PM +0000, Clint Anderson via Pdns-users wrote:
> Otto & Walter - Thank you for the replies! > > Otto, > > My assumption was that the cache is the most efficient and if it was in the > cache, it would return the cached answer and never go looking for an update. > Thank you for the clarification on the zoneToCache functionality, seems I was > barking up the wrong tree. To elaborate on this a bit: yes, if an answer is in the cache it will be used. But records do not stay in the cache forever: cache entries will be evicted if the cache gets too full. The decision which records are evicted is based on method taking both TLLs and LRU into account. Additionally, replacing records in the cache will cause issues if DNSSEC validation is enforced and the domain the alternative records are in is DNSSEC protected: the records will be marked as Bogus and not be served to clients. -Otto _______________________________________________ Pdns-users mailing list Pdns-users@mailman.powerdns.com https://mailman.powerdns.com/mailman/listinfo/pdns-users