]> git.ipfire.org Git - thirdparty/bind9.git/commit
chg: usr: Introduce max-delegation-servers configuration option
authorOndřej Surý <ondrej@isc.org>
Wed, 4 Mar 2026 16:25:28 +0000 (17:25 +0100)
committerOndřej Surý <ondrej@isc.org>
Wed, 4 Mar 2026 16:25:28 +0000 (17:25 +0100)
commitd2cb28d43eec68e314dd1aed30ab2d0f8c5048dc
tree3d0c4bb1fff6d8ea3ec834dfeaab2acdeaab7009
parenta14e37fff63915b91848a96cd70a7cd049c41f64
parentc1ba80169c05ce5250cc54ef2cb34b1b7d3c5930
chg: usr: Introduce max-delegation-servers configuration option

Make the maximum number of processed delegation nameservers configurable
via the new 'max-delegation-servers' option (default: 13), replacing the
hardcoded NS_PROCESSING_LIMIT (20).

The default is reduced to 13 to precisely match the maximum number of
root servers that can fit into a classic 512-byte UDP payload.  This
provides a natural, historically sound cap that mitigates resource
exhaustion and amplification attacks from artificially inflated or
misconfigured delegations.

The configuration option is strictly bounded between 1 and 100 to ensure
resolver stability.

Merge branch 'ondrej/make-NS_PROCESSING_LIMIT-configurable' into 'main'

See merge request isc-projects/bind9!11607