aboutsummaryrefslogtreecommitdiff
path: root/util/config_file.h
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2024-05-10 20:48:53 +0000
committerCy Schubert <cy@FreeBSD.org>2024-05-10 20:48:53 +0000
commitc2a80056864d6eda0398fd127dc0ae515b39752b (patch)
tree92e6196ae61df0fa7e4db654f78dfd837cc41826 /util/config_file.h
parent5a33598e88ad8fbc0affa74dee0a2d8cc4010fbc (diff)
Diffstat (limited to 'util/config_file.h')
-rw-r--r--util/config_file.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/util/config_file.h b/util/config_file.h
index 491109833e4b..d3a2e268c49f 100644
--- a/util/config_file.h
+++ b/util/config_file.h
@@ -315,6 +315,8 @@ struct config_file {
int min_ttl;
/** the number of seconds maximal negative TTL for SOA in auth */
int max_negative_ttl;
+ /** the number of seconds minimal negative TTL for SOA in auth */
+ int min_negative_ttl;
/** if prefetching of messages should be performed. */
int prefetch;
/** if prefetching of DNSKEYs should be performed. */
@@ -535,6 +537,21 @@ struct config_file {
/* wait time for unknown server in msec */
int unknown_server_time_limit;
+ /** Wait time to drop recursion replies */
+ int discard_timeout;
+
+ /** Wait limit for number of replies per IP address */
+ int wait_limit;
+
+ /** Wait limit for number of replies per IP address with cookie */
+ int wait_limit_cookie;
+
+ /** wait limit per netblock */
+ struct config_str2list* wait_limit_netblock;
+
+ /** wait limit with cookie per netblock */
+ struct config_str2list* wait_limit_cookie_netblock;
+
/* maximum UDP response size */
size_t max_udp_size;
@@ -705,6 +722,8 @@ struct config_file {
char* cachedb_secret;
/** cachedb that does not store, but only reads from database, if on */
int cachedb_no_store;
+ /** cachedb check before serving serve-expired response */
+ int cachedb_check_when_serve_expired;
#ifdef USE_REDIS
/** redis server's IP address or host name */
char* redis_server_host;