diff --git a/CHANGES b/CHANGES index 9737b9746d..492507c777 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ + 22. [bug] SIGs weren't returned in the answer section when + the query resulted in a fetch. + 21. [port] Look at STD_CINCLUDES after CINCLUDES during compilation, so additional system include directories can be searched but header files in the bind9 source diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c index 68720ccad5..da23a9f05e 100644 --- a/lib/dns/resolver.c +++ b/lib/dns/resolver.c @@ -2263,6 +2263,8 @@ cache_name(fetchctx_t *fctx, dns_name_t *name, isc_stdtime_t now) { */ if (ANSWER(rdataset)) addedrdataset = ardataset; + else if (ANSWERSIG(rdataset)) + addedrdataset = asigrdataset; else addedrdataset = NULL; if (CHAINING(rdataset)) {