diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2019-06-30 15:01:11 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2019-06-30 15:01:11 +0000 |
commit | 366b94c4a9552acfb560d3234aea0955ebc1eb8e (patch) | |
tree | 0bee3a4dbb699714374eeab0af43e63f1bf9672d /iterator/iter_utils.h | |
parent | 4713c21a1ac91081e50e474d11fcec002b43a562 (diff) |
Notes
Diffstat (limited to 'iterator/iter_utils.h')
-rw-r--r-- | iterator/iter_utils.h | 7 |
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. |