summaryrefslogtreecommitdiff
path: root/libunbound/unbound.h
diff options
context:
space:
mode:
Diffstat (limited to 'libunbound/unbound.h')
-rw-r--r--libunbound/unbound.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libunbound/unbound.h b/libunbound/unbound.h
index 085f9f53415f1..d435bf28d35e4 100644
--- a/libunbound/unbound.h
+++ b/libunbound/unbound.h
@@ -193,6 +193,12 @@ struct ub_result {
* Is NULL if the result is not bogus.
*/
char* why_bogus;
+
+ /**
+ * TTL for the result, in seconds. If the security is bogus, then
+ * you also cannot trust this value.
+ */
+ int ttl;
};
/**