--- a/lib/dns/resolver.c	2019-04-17 06:06:06.700000000 -0400
+++ b/lib/dns/resolver_1.c	2019-04-17 06:08:47.697000000 -0400
@@ -8419,7 +8419,9 @@ resquery_response(isc_task_t *task, isc_
 				if (result != ISC_R_SUCCESS)
 					FCTXTRACE3("noanswer_response", result);
 			}
-			if (result != DNS_R_DELEGATION) {
+			if (result == DNS_R_DELEGATION) {
+                            result = ISC_R_SUCCESS;
+                        } else {
 				/*
 				 * At this point, AA is not set, the response
 				 * is not a referral, and the server is not a
