From f79ee00c69259b9a27f9f0d12afa6c7b64005ded Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Thu, 27 Feb 2014 14:49:01 -0800 Subject: [PATCH] [master] use cache in delve 3763. [bug] delve: Cache DNSSEC records to avoid the need to re-fetch them when restarting validation. [RT #35476] --- CHANGES | 3 +++ bin/delve/delve.c | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 1e2f62cd3a..4b1df31c4e 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +3763. [bug] delve: Cache DNSSEC records to avoid the need to + re-fetch them when restarting validation. [RT #35476] + 3762. [bug] Address build problems with --pkcs11-native + --with-openssl with ECDSA support. [RT #35467] diff --git a/bin/delve/delve.c b/bin/delve/delve.c index 982d9700ff..23e5ee8b3a 100644 --- a/bin/delve/delve.c +++ b/bin/delve/delve.c @@ -1525,7 +1525,7 @@ main(int argc, char *argv[]) { dns_name_t *query_name, *response_name; dns_rdataset_t *rdataset; dns_namelist_t namelist; - unsigned int resopt; + unsigned int resopt, clopt; isc_appctx_t *actx = NULL; isc_taskmgr_t *taskmgr = NULL; isc_socketmgr_t *socketmgr = NULL; @@ -1572,8 +1572,9 @@ main(int argc, char *argv[]) { #endif /* Create client */ + clopt = DNS_CLIENTCREATEOPT_USECACHE; result = dns_client_createx2(mctx, actx, taskmgr, socketmgr, timermgr, - 0, &client, srcaddr4, srcaddr6); + clopt, &client, srcaddr4, srcaddr6); if (result != ISC_R_SUCCESS) { delve_log(ISC_LOG_ERROR, "dns_client_create: %s", isc_result_totext(result));