1. kresd/fix/lib/modules/hints
set aa bit in the answer from hints. (You may not like it.)
~/kresd/modules/hints$ diff -c hints.c.orig hints.c
*** hints.c.orig 2016-04-18 12:34:31.000000000 +0900 --- hints.c 2016-05-02 23:38:10.303008404 +0900 *************** *** 207,212 **** --- 207,213 ---- qry->flags &= ~QUERY_DNSSEC_WANT; /* Never authenticated */ qry->flags |= QUERY_CACHED|QUERY_NO_MINIMIZE; pkt->parsed = pkt->size; + knot_wire_set_aa(pkt->wire); /* t.m. */ knot_wire_set_qr(pkt->wire); return KNOT_STATE_DONE;
I am wondering how we should handle A records in hints files.
- If they are not authoritative, they should not be cached. And this is a exceptional case, I mean, that answer section contains A records with aa bit off.
-- ToshinoriMaeno 2016-05-02 15:26:49