2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

reduce MAX_RESTARTS to 11

the number of steps that can be followed in a CNAME chain
before terminating the lookup has been reduced from 16 to 11.
(this is a hard-coded value, but will be made configurable later.)
This commit is contained in:
Evan Hunt
2024-06-25 12:28:23 -07:00
parent 825f3d68c5
commit 05d78671bb
4 changed files with 4 additions and 4 deletions

View File

@@ -57,7 +57,7 @@
#define UCTX_MAGIC ISC_MAGIC('U', 'c', 't', 'x')
#define UCTX_VALID(c) ISC_MAGIC_VALID(c, UCTX_MAGIC)
#define MAX_RESTARTS 16
#define MAX_RESTARTS 11
#define CHECK(r) \
do { \