summaryrefslogtreecommitdiff
path: root/libunbound/unbound.h
diff options
context:
space:
mode:
Diffstat (limited to 'libunbound/unbound.h')
-rw-r--r--libunbound/unbound.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libunbound/unbound.h b/libunbound/unbound.h
index d7667d104a0e2..ac747a7cc6cc8 100644
--- a/libunbound/unbound.h
+++ b/libunbound/unbound.h
@@ -622,6 +622,7 @@ struct ub_shm_stat_info {
long long subnet;
long long ipsecmod;
long long respip;
+ long long dnscrypt_shared_secret;
} mem;
};
@@ -704,6 +705,8 @@ struct ub_server_stats {
long long ans_bogus;
/** rrsets marked bogus by validator */
long long rrset_bogus;
+ /** number of queries that have been ratelimited by domain recursion. */
+ long long queries_ratelimited;
/** unwanted traffic received on server-facing ports */
long long unwanted_replies;
/** unwanted traffic received on client-facing ports */
@@ -735,6 +738,10 @@ struct ub_server_stats {
long long num_query_dnscrypt_cleartext;
/** number of malformed encrypted queries */
long long num_query_dnscrypt_crypted_malformed;
+ /** number of queries which did not have a shared secret in cache */
+ long long num_query_dnscrypt_secret_missed_cache;
+ /** number of dnscrypt shared secret cache entries */
+ long long shared_secret_cache_count;
};
/**