]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Process the delegating NS RRset when checking rpz rules
authorMark Andrews <marka@isc.org>
Wed, 4 May 2022 04:45:19 +0000 (14:45 +1000)
committerMark Andrews <marka@isc.org>
Wed, 4 May 2022 13:30:32 +0000 (23:30 +1000)
lib/ns/query.c

index 12905bf2433df595048fe86e4af3627b60c52b5d..b266b41ffb3fcf25546cc451d40c2679a30b1f39 100644 (file)
@@ -4261,6 +4261,7 @@ rpz_rewrite(ns_client_t *client, dns_rdatatype_t qtype, isc_result_t qresult,
                        }
                        switch (result) {
                        case ISC_R_SUCCESS:
+                       case DNS_R_GLUE:
                                result = dns_rdataset_first(st->r.ns_rdataset);
                                if (result != ISC_R_SUCCESS) {
                                        goto cleanup;