until RFC2181 credibility is implemented in cache, this behavior breaks
DNSSEC as the parent-side comes first to the cache
disabled this behavior until implemented properly
*/
knot_rrset_t query_rr;
knot_rrset_init(&query_rr, rr->owner, rr->type, rr->rclass);
- if (kr_cache_peek_rr(baton->txn, &query_rr, &drift) == 0) {
- /* Allow replace if RRSet in the cache is about to expire. */
- if (!is_expiring(&query_rr, drift)) {
- return kr_ok();
- }
- }
return kr_cache_insert_rr(baton->txn, rr, baton->timestamp);
}