summaryrefslogtreecommitdiff
path: root/iterator/iter_fwd.h
diff options
context:
space:
mode:
Diffstat (limited to 'iterator/iter_fwd.h')
-rw-r--r--iterator/iter_fwd.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/iterator/iter_fwd.h b/iterator/iter_fwd.h
index dbb84f226126..62408ad52e2b 100644
--- a/iterator/iter_fwd.h
+++ b/iterator/iter_fwd.h
@@ -105,6 +105,16 @@ void forwards_delete(struct iter_forwards* fwd);
int forwards_apply_cfg(struct iter_forwards* fwd, struct config_file* cfg);
/**
+ * Find forward zone exactly by name
+ * @param fwd: forward storage.
+ * @param qname: The qname of the query.
+ * @param qclass: The qclass of the query.
+ * @return: A delegation point or null.
+ */
+struct delegpt* forwards_find(struct iter_forwards* fwd, uint8_t* qname,
+ uint16_t qclass);
+
+/**
* Find forward zone information
* For this qname/qclass find forward zone information, returns delegation
* point with server names and addresses, or NULL if no forwarding is needed.