max-clients-per-query 100;\n\
max-ncache-ttl 10800; /* 3 hours */\n\
max-recursion-depth 7;\n\
- max-recursion-queries 100;\n\
+ max-recursion-queries 32;\n\
max-stale-ttl 86400; /* 1 day */\n\
message-compression yes;\n\
min-ncache-ttl 0; /* 0 hours */\n\
listen-on-v6 { none; };
servfail-ttl 0;
qname-minimization disabled;
+ max-recursion-queries 50;
max-recursion-depth 12;
recursion yes;
dnssec-validation yes;
max-zone-ttl unlimited;
resolver-query-timeout 5000; # 5 seconds
attach-cache "globalcache";
+ max-recursion-queries 50;
};
trust-anchors { };
:tags: server, query
:short: Sets the maximum number of iterative queries while servicing a recursive query.
- This sets the maximum number of iterative queries that may be sent while
- servicing a recursive query. If more queries are sent, the recursive
- query is terminated and returns SERVFAIL. The default is 100.
+ This sets the maximum number of iterative queries that may be sent
+ by a resolver while looking up a single name. If more queries than this
+ need to be sent before an answer is reached, then recursion is terminated
+ and a SERVFAIL response is returned to the client. (Note: if the answer
+ is a CNAME, then the subsequent lookup for the target of the CNAME is
+ counted separately.) The default is 32.
.. namedconf:statement:: notify-delay
:tags: transfer, zone
/* The default maximum number of iterative queries to allow before giving up. */
#ifndef DEFAULT_MAX_QUERIES
-#define DEFAULT_MAX_QUERIES 100
+#define DEFAULT_MAX_QUERIES 50
#endif /* ifndef DEFAULT_MAX_QUERIES */
/*