DNS/KnotResolver/patch1について、ここに記述してください。

First step

*** pktcache.c.orig     2015-10-25 17:34:16.760917135 +0900
--- pktcache.c  2015-10-25 18:01:11.472974664 +0900
***************
*** 207,213 ****
        /* Check if we can replace (allow current or better rank, SECURE is always accepted). */
        if (header.rank < KR_RANK_SECURE) {
                int cached_rank = kr_cache_peek_rank(&txn, KR_CACHE_PKT, qname, qtype, header.timestamp);
!               if (cached_rank > header.rank) {
                        kr_cache_txn_abort(&txn);
                        return ctx->state;
                }
--- 207,213 ----
        /* Check if we can replace (allow current or better rank, SECURE is always accepted). */
        if (header.rank < KR_RANK_SECURE) {
                int cached_rank = kr_cache_peek_rank(&txn, KR_CACHE_PKT, qname, qtype, header.timestamp);
!               if (cached_rank >= header.rank) {
                        kr_cache_txn_abort(&txn);
                        return ctx->state;
                }