summaryrefslogtreecommitdiff
path: root/iterator/iter_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'iterator/iter_utils.h')
-rw-r--r--iterator/iter_utils.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/iterator/iter_utils.h b/iterator/iter_utils.h
index ccfb280224b3..f771930bba2b 100644
--- a/iterator/iter_utils.h
+++ b/iterator/iter_utils.h
@@ -335,6 +335,13 @@ void iter_scrub_ds(struct dns_msg* msg, struct ub_packed_rrset_key* ns,
uint8_t* z);
/**
+ * Prepare an NXDOMAIN message to be used for a subdomain answer by removing all
+ * RRs from the ANSWER section.
+ * @param msg: the response to scrub.
+ */
+void iter_scrub_nxdomain(struct dns_msg* msg);
+
+/**
* Remove query attempts from all available ips. For 0x20.
* @param dp: delegpt.
* @param d: decrease.